The following example shows how to call the “showFeedbackMessage” function of the “FeedbackMessage” module:
$public.FeedbackMessage.showFeedbackMessage("Your data has been submitted.", 1);
|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.|
|Provides methods to access native capabilities of the device.|
|Displays feedback messages to the user. Used to display personalized feedback messages, specifying options like custom style and auto-close behavior.|
|Provides methods to log messages or errors. Used as
|Provides methods for doing client side role checks. Used to programmatically show or hide UI elements depending on a given role.|
|Provides contextual information based on the screen that is being presented. Used to identify the screen, module and application that is currently running.|
|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.|
|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.|
|Provides methods to deal with active view components and their state.|
|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