Referencing Views
1. Reference to the View
// views/toolbar.js
import {JetView} from "webix-jet";
export default class Toolbar extends JetView {
config(){
return {
view: "toolbar",
elements: [
{ view: "label", label: "Demo" },
{ view: "button", value:"details",
click: () => {
this.show("details");
}
}
]
};
}
};2. Reference to the App
3. Reference to the Root UI Element of the View
4. Referencing Parent Views and Subviews
1. getParentView()
5. Referencing Webix Widgets
1. Getting by Local IDS (localId)
2. Getting by Global IDs
Footnotes
[1]:
Last updated