How can I define a partial UI like:
// innerUI.js var innerUI = { ... };
then include the “innerUI” in another layout, like so:
// outerUI.js var outerUI = { rows : [ { view: "toolbar", // ... }, { view: innerUI // <-- insert UI here } ]};
then build the final layout:
// index.html < script include="innerUI.js"></ script> < script include="outerUI.js"></ script> ... < script> webix.ui(outerUI); </ script>