[JavaSctipt] A class for creating an adaptive HTML tree from JSON
Example
- Cloning this repository
- Connecting a JSONtoHTMLTree.js
- Creating an instance of a class
let tree = new JSONtoHTMLTree(
// {
// classPrefix: 'tree-creator',
// tagContent: 'input'
// }
);
- Initializing tree
tree.init(
'<json>',
document.getElementById('<id_element>')
);