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, propsopt) → {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 base20.

props Object <optional>

to extend

Source:
Returns:
Type
Icon

error() → {Icon}

Gets a failure (error) icon

Source:
Returns:
Type
Icon

spinner(propsopt) → {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
props Object <optional>

See Icon for more details

Source:
Returns:
Type
Icon

watchedIcon(props) → {Icon}

Gets a filled watch star icon.

Parameters:
Name Type Description
props Object
Source:
Returns:
Type
Icon

watchIcon(props) → {Icon}

Gets a non-filled watch star icon.

Parameters:
Name Type Description
props Object
Source:
Returns:
Type
Icon