Defines a Show Loading action component.
An overlay that can be used to indicate activity.
Once presented, the loading indicator will automatically dismiss after a duration
of 3s by default.
If the Duration property is set to false
, the loading will display indefinitely until dismissed by a Close Loading action or a backdrop click.
Place a Show Loading action at the very beginning of an action chain, under an Event or Shared action.
Place a Close Loading action under a Finally handler.
For more information : Controller
Name | Description |
---|---|
Animated | If true, the loading will animate |
Animation (enter) | Animation to use when the loading is presented. ((baseEl: any, opts?: any) => Animation). |
Animation (leave) | Animation to use when the loading is dismissed. ((baseEl: any, opts?: any) => Animation). |
Css classes | Additional classes for custom styles. Type: string | string[] |
Duration | Number of milliseconds to wait before dismissing the loading indicator. |
Enable backdrop dismiss | If true, the loading indicator will be dismissed when the backdrop is clicked. |
Html Attributes | Additional attributes to pass to the toast. Type: { [key: string]: any } |
Keyboard close | If true, the keyboard will be automatically dismissed when the overlay is presented |
Message | Optional text content to display in the loading indicator. |
Mode | Specifies ionic mode. |
Show Backdrop | If true, a backdrop will be displayed behind the loading indicator. |
Spinner | The name of the spinner to display. |
Translucent | If true, the loading will be translucent. Only applies when the mode is ‘ios’ and the device supports backdrop-filter. |
Comment | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
Is active | Defines whether the component is active. |