j-JSONTree
j-JSONTree vytváří pohled na strom z dat json.
Konfigurace:
click {String}odkaz nafunction(selected_path, component)
Použijte ji s <ui-component name="jsontree">Pokud je součástka ještě nezačleněna, jComponent Stáhnout ji na první použití z adresy DEF.fallback a) The Componentator CDN dle předvolby. autor: Martin Smola. zdroj: The Componentator Výrobce je autorizován, MIT licence.
<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>