Skip to main content

Interface: ApplyWaveOptions

Defined in: src/animation/indication/ApplyWave.ts:16

Extends​

Properties​

amplitude?​

optional amplitude: number

Defined in: src/animation/indication/ApplyWave.ts:20

Amplitude of the wave. Default: 0.2


direction?​

optional direction: WaveDirection

Defined in: src/animation/indication/ApplyWave.ts:18

Direction of the wave. Default: 'horizontal'


duration?​

optional duration: number

Defined in: src/animation/Animation.ts:16

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


rateFunc?​

optional rateFunc: RateFunction

Defined in: src/animation/Animation.ts:18

Rate function controlling the animation's pacing (default: smooth)

Inherited from​

AnimationOptions.rateFunc


ripples?​

optional ripples: boolean

Defined in: src/animation/indication/ApplyWave.ts:26

Ripple out from center instead of linear wave. Default: false


shift?​

optional shift: [number, number, number]

Defined in: src/animation/Animation.ts:20

Shift direction for fade animations

Inherited from​

AnimationOptions.shift


speed?​

optional speed: number

Defined in: src/animation/indication/ApplyWave.ts:24

Speed multiplier for wave propagation. Default: 1


wavelength?​

optional wavelength: number

Defined in: src/animation/indication/ApplyWave.ts:22

Number of wave cycles. Default: 1.5