Javascript API
interfaces
Appeareffect

Interface: AppearEffect

Hierarchy

Properties

animationPreset

animationPreset: "fade" | "slide-in-left" | "slide-in-right" | "slide-in-down" | "slide-in-up" | "scale-in"

The preset animation for the effect. Possible values are: 'fade', 'slide-in-left', 'slide-in-right', 'slide-in-down', 'slide-in-up', 'scale-in'.


delay

delay: number

The delay before starting the animation in seconds.


duration

duration: number

The duration of the animation in seconds.


id

Readonly id: number

Every Effect is assigned a unique numerical id that cannot be changed.

Inherited from

Effect.id


replay

replay: boolean

Indicates whether the effect should replay when triggered again.


scaleFrom

scaleFrom: number

The scale value to start the animation from.


threshold

threshold: number | "any" | "half" | "all"

The preset threshold percentage value for triggering the effect. Possible values are: 'any', 'half', 'all', number between 0 and 1.0.


trigger

trigger: "inview" | "onload"

The trigger event for the effect. Possible values are: 'inview', 'onload'.