Module: application/widgets/loader

Loader widget

Author:
Source:

Methods

(inner) _stopPropagation(evtopt)

Stops the propagation for the given event.

Parameters:
Name Type Attributes Description
evt Event <optional>

Event triggered.

Source:

(inner) hide(optionsopt)

Hides the widget and kills the content.

Parameters:
Name Type Attributes Description
options Object <optional>

Options for the hide transition.

Source:

(inner) init(idopt)

Initialises the loader widget.

Parameters:
Name Type Attributes Description
id string <optional>

Identifier of the widget.

Source:

(inner) isFocusable() → {boolean}

Adds the check on style attributes to validate whether the widget is focusable.

Source:
Returns:
  • Whether the widget is focusable.
Type
boolean

(inner) render(device) → {HTMLElement}

Renders the loader and makes sure it's hidden by default.

Parameters:
Name Type Description
device Device

The currently active device.

Source:
Returns:
  • The rendered element.
Type
HTMLElement

(inner) show(optionsopt)

Shows the widget and sets the content.

Parameters:
Name Type Attributes Description
options Object <optional>

Options for the show transition.

Source: