Manage the loader from AskiaPortal.
portal.loader.show({
message : "Loading something...."
});
// ... Do a long operation
portal.loader.hide();
Dependencies:
- ./js/portal.channel.js
Methods
(static) hide() → {Promise}
Hide the current AskiaPortal loader.
Returns:
- Type
- Promise
(static) show(options) → {Promise}
Display the AskiaPortal loader
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
Object | Options of the AskiaPortal loader. Properties
|
Returns:
- Type
- Promise