Spinners component.
- Source:
Members
(static) initOnLoad
Properties:
Name | Type | Description |
---|---|---|
initOnLoad |
Boolean | run init() on page load |
- Source:
Methods
(static) .activate(idopt)
Activate spinner.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
id |
string |
<optional> |
"section--content" | the ID of the element to attach a spinner to, defaults to the main content area of the page |
- Source:
(static) .activateAfterDelay(idopt)
Activate spinner after delay of 500ms.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
id |
string |
<optional> |
"section--content" | the ID of the element to attach a spinner to, defaults to the main content area of the page |
- Source:
(static) .deactivate(idopt)
Deactivate spinner.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
id |
string |
<optional> |
"section--content" | the ID of the element with spinner attached, defaults to the main content area of the page |
- Source: