The following example shows how to call the “showFeedbackMessage” function of the “FeedbackMessage” module:
$public.FeedbackMessage.showFeedbackMessage("Your data has been submitted.", 1);
|ApplicationLifecycle||Provides information about the status of the application's lifecycle. Used to protect the app during upgrades, when local model access shouldn't be allowed, and to customize the application loading process.|
|Device||Provides methods to access native capabilities of the device.|
|FeedbackMessage||Displays feedback messages to the user. Used to display personalized feedback messages, specifying options like custom style and auto-close behavior.|
|Logger|| Provides methods to log messages or errors. Used as |
|Security||Provides methods for doing client side role checks. Used to programmatically show or hide UI elements depending on a given role.|
|Navigation||Provides the ability to perform normal and history navigations, and to override some navigation behaviors (e.g. back). Used to create new transition animations instead of overriding the existing ones using CSS.|
|Validation||Provides methods to show validation messages on widgets and set their validation values. Used when validating widgets inside iterators, since it's not possible to do it in the usual way.|
|View||Provides methods to deal with active view components and their state.|
|ApplicationLoadEventHandlers||Event handlers called when the status of the application load changes.|
Event handlers called when the status of the application load changes.
(Optional) onLoadComplete: function
Callback for when the application is fully loaded and ready to use.
(Optional) onUpgradeProgress: function
Callback for when there is progress, during a version upgrade.
(loaded: number, total: number): void