Skip to main content

PianoWave

A row of bars that animate like piano keys.

Inherits: LayoutControl

Properties

  • color - The color of the spinner.
  • duration - The duration of one animation cycle.
  • item_count - Number of bars.
  • 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.

item_countclass-attributeinstance-attribute

item_count: int | None = None

Number of bars. Defaults to 5.

sizeclass-attributeinstance-attribute

size: Number | None = None

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