Here you can find the list of all the JetApp methods, events, and properties.
Method | Use |
​attachEvent​ | attaches an event |
​callEvent​ | calls an event |
​contains​ | checks if the app contains SomeView |
​createView​ | creates a new Jet view |
​getService​ | returns a service |
​getSubView​ | returns the current top view of the app |
​getUrl​ | returns an arrays of the URL segments |
​refresh​ | repaints the UI of an app |
​render​ | renders the app or the app module |
​setService​ | sets a service |
​show​ | rebuilds the app or app module according to the new URL |
​use​ | enables a plugin |
Event | Fires |
​app:render​ | before each view of an app is rendered |
​app:route​ | after navigation to a view |
​app:guard​ | before navigation to another view |
​app:user:login​ | by the User plugin when a user logs in |
​app:user:logout​ | by the User plugin when a user logs out |
​app:error​ | any error occurs |
​app:error:resolve​ | when Jet can't find a module by its name |
​app:error:render​ | on errors during view rendering, mostly Webix UI related |
​app:error:initview​ | in the case of an error during view rendering, mostly Webix Jet related |