j-JSONTree
j-JSONTree създава дървен изглед от JSON данни.
Конфигуриране:
click {String}е връзка къмfunction(selected_path, component)
Използвайте го с <ui-component name="jsontree">Когато компонентът все още не е зареден, jComponent Изтегляне на първия адрес в DEF.fallback (След това Componentator Автор: Мартин Смола. източник: Componentator Съставни съставки, лиценз на MIT.
<ui-component name="jsontree" path="json" config="click:jsontree_click">Sample JSON data</ui-component>
<script>
setTimeout(function() {
SET('json', '{"datecreated":"2018-06-18T22:27:00.000Z","name":"j-JSONTree","color":"transparent","version":1,"responsive":true,"picture":"picture.png","dependencies":"","author":"Martin Smola","email":"smola.martin@gmail.com","license":"MIT"}');
}, 2000);
function jsontree_click(path) {
console.log('Path:', path);
};
</script>