a-loader
A wrapper element to handle a loading state of its children.
LoaderElement
A wrapper element to handle a loading state of its children. Its help with displaying a loading state of dynamic elements. For example, a error state can be displayed to the user, using just css and this element.
Attributes
| Name | Type | Default value | Description |
|---|---|---|---|
delay
|
number | 300 |
The delay in ms, before the loader is shown. |
error
|
boolean | false |
Set, if the child element is in an error state. |
loading
|
boolean | false |
Set, if the child element is currently still loading. |