1.0.18 • Published 2 years ago
@jst_htet/json2html v1.0.18
Browser plugin for building html from json
import { buildHtmlFromJsonList } from "@jst_htet/json2html";
buildHtmlFromJsonList("#contents", [
{
attributes: { class: "btn btn-primary" },
children: [
{ attributes: {}, children: [], element: "#text", text: "Click me" },
],
element: "button",
text: "Click me",
events: {
click: (e) => alert("click"),
},
},
]);
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago