Class: icons

icons()

new icons()

A set of shared icons.

Factory methods are used to keep separate features that use the same icons from accidentally manipulating one another's DOM when calling methods like remove.

Source:

Methods

back() → {Icon}

Gets a back icon

The icon should be used to inform the user that the front-end is communicating with the back-end.

Source:
Returns:
Type
Icon

cancel(variantopt) → {Icon}

Gets a cancel icon

The icon should be used to inform the user that the front-end is communicating with the back-end.

Parameters:
Name Type Attributes Description
variant string <optional>

defaults to cancel

Source:
Returns:
Type
Icon

error() → {Icon}

Gets a failure (error) icon

Source:
Returns:
Type
Icon

spinner(optionsopt) → {Icon}

Gets a spinner icon.

The icon should be used to inform the user that the front-end is communicating with the back-end.

Parameters:
Name Type Attributes Description
options Object <optional>

See Icon for more details

Source:
Returns:
Type
Icon

watchedIcon() → {Icon}

Gets a filled watch star icon.

Source:
Returns:
Type
Icon

watchIcon() → {Icon}

Gets a non-filled watch star icon.

Source:
Returns:
Type
Icon