Events
The following core events are available in all widget types.
Event | Description |
---|---|
app.loaded | As soon as communication with the Facilio is established, the SDK triggers an app.loaded event. |
app.destroyed | Fires when the app becomes inactive. |
Example
app.on("app.loaded", (data) => { console.log(data);});
app.on("app.destroyed", () => { console.log("app destroyed");});