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() → {IconButton}

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
IconButton

cancel(variantopt, variant, propsopt) → {IconButton}

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>
variant
props Object <optional>

to extend

Source:
Returns:
Type
IconButton

error() → {IconButton}

Gets a failure (error) icon

Source:
Returns:
Type
IconButton

spinner(propsopt) → {IconButton}

Gets a spinner icon. This uses IconButton but should never actually be a button or have full button styles, as its purely presentational

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
IconButton

watch(props) → {IconButton}

Gets a non-filled watch star icon.

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

watched(props) → {IconButton}

Gets a filled watch star icon.

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