HexagonJS
Edit Page
Spinner
Loading spinners - for indicating that something 'is happening'.
Examples

HTML

<span class="hx-spinner"></span>

HTML

<span class="hx-spinner hx-spinner-large"></span>

HTML

<div class="hx-spinner-wide"></div>
Api
Functions
hx.spinnerWideSelectionadded
Creates a detached span, classed with hx-spinner-wide, wrapped in a selection
Returns
Selection
The selection containing the new element
hx.spinner.wideSelectiondeprecated
Deprecated
Replaced by hx.spinnerWide
Creates a detached span, classed with hx-spinner-wide, wrapped in a selection
Returns
Selection
The selection containing the new element
hx.spinnerSelection
Creates a detached span, classed with hx-spinner, wrapped in a selection
Returns
Selection
The selection containing the new element
Classes
hx-spinner
Use with a <span> for an inline spinner
Extra Classes
hx-spinner-large
Use with a <span> for a large inline spinner
hx-spinner-wide
Use with a <div> for a wide spinner