Skip to content

Fader

Faders are used to fade between multiple items using a particular interval. They can be used in headers to fade between multiple image slides.

Props

interval?: number
The time a view is visible in milliseconds.
Default: 9000

Emits

update: [number]
Triggered when the visible view changes.

Slots

default ({
    readonly current: number;
    next(): void;
    previous(): void;
})

The views of the fader.

Examples

Todo