Spinner

A Spinner is an outline of a circle which animates around itself indicating to the user that things are processing. A Spinner is shown when it's unsure how long a task will take making it the indeterminate version of a Progress.

Properties#

NameTypeDefaultDescription
sizestringmediumThe size of Spinner to render: extraSmall, small, medium, large
labelstringThe label to show next to the Spinner.
labelPositionstringbottomThe position of the label in regards of the spinner animation: top, right, left, bottom

Examples#

Adding a new spinner:

spin1 = page.add(Spinner(label="Please wait while we are doing something..."))

Remove spinner when a long operation is complete:

page.remove(spin1)