Skip to main content

Ring

A ring that spins with a gap.

Inherits: LayoutControl

Properties

  • color - The color of the spinner.
  • duration - The duration of one animation cycle.
  • line_width - The stroke width of the ring.
  • size - The size of the spinner in pixels.

Properties

colorclass-attributeinstance-attribute

color: ColorValue | None = None

The color of the spinner.

durationclass-attributeinstance-attribute

duration: DurationValue | None = None

The duration of one animation cycle.

line_widthclass-attributeinstance-attribute

line_width: Number | None = None

The stroke width of the ring. Defaults to 7.

sizeclass-attributeinstance-attribute

size: Number | None = None

The size of the spinner in pixels. Defaults to 50.