Skip to contents

See spinner().

Super class

Widget -> Spinner

Public fields

paint_states

Animation frames only repaint.

frames

Animation frames.

interval

Seconds per frame.

Active bindings

label

Text after the spinner (reactive).

spinning

Is it animating? (reactive)

Methods

Inherited methods


Spinner$new()

Create a spinner. See spinner().

Usage

Spinner$new(
  label = "",
  type = "dots",
  interval = 0.1,
  id = NULL,
  classes = NULL,
  style = NULL
)

Arguments

label

Text after the spinner.

type

Animation name.

interval

Seconds per frame.

id, classes, style

See Widget.


Spinner$default_style()

The built-in style.

Usage

Spinner$default_style()


Spinner$on_mount()

Start the animation timer.

Usage

Spinner$on_mount(event)

Arguments

event

A MountEvent.


Spinner$render()

The current frame and the label.

Usage

Spinner$render()


Spinner$clone()

The objects of this class are cloneable with this method.

Usage

Spinner$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.