Skip to main content

Events

The following core events are available in all widget types.

EventDescription
app.loadedAs soon as communication with the Facilio is established, the SDK triggers an app.loaded event.
app.destroyedFires when the app becomes inactive.

Example

app.on("app.loaded", (data) => {  console.log(data);});
app.on("app.destroyed", () => {  console.log("app destroyed");});