Skip to main content

Wave

A row of bars that animate in a wave pattern.

Inherits: LayoutControl

Properties

  • color - The color of the spinner.
  • duration - The duration of one animation cycle.
  • item_count - Number of bars in the wave.
  • size - The size of the spinner in pixels.
  • wave_type - Controls the wave propagation direction.

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 in the wave. Defaults to 5.

sizeclass-attributeinstance-attribute

size: Number | None = None

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

wave_typeclass-attributeinstance-attribute

wave_type: WaveType | None = None

Controls the wave propagation direction.

Defaults to WaveType.START.