lenards/elm-ui-patternfly/4.0.1

NOTE: the latest version is 4.0.2

PF6.Spinner

PF6 Spinner component

Spinners are used to indicate that content is loading.

See: https://www.patternfly.org/components/spinner

Definition

type Spinner

Opaque Spinner type

type Size

Spinner size

Constructor

Construct a default medium spinner

Size modifiers

Small spinner — 1rem

Medium spinner — 1.5rem (default)

Large spinner — 3rem

XLarge spinner — 3.75rem

Accessibility

Set the accessible label for screen readers

Rendering

toMarkup : Theme -> Spinner -> Element msg

Render the Spinner as an Element msg

Uses CSS animation via inline HTML for the spinning effect. The spinner is a circle with a colored arc rotating via CSS.