Skip to main content

Interface: StaggerTransition

Public fluent contract for a staggered reveal operation.

Methods​

after()​

after(target: string | ReactiveElementBase): this

Parameters​

ParameterType
targetstring | ReactiveElementBase

Returns​

this


apply()​

apply(): void

Returns​

void


duration()​

duration(seconds: number): this

Parameters​

ParameterType
secondsnumber

Returns​

this


ease()​

ease(curve: BuiltinEase | EaseCurve): this

Parameters​

ParameterType
curveBuiltinEase | EaseCurve

Returns​

this


overlap()​

overlap(milestone: AnimationMilestone): this

Parameters​

ParameterType
milestoneAnimationMilestone

Returns​

this


props()​

props(properties: ElementTransitionProps): this

Parameters​

ParameterType
propertiesElementTransitionProps

Returns​

this


when()​

when(target: string | ReactiveElementBase, milestone?: AnimationMilestone): this

Parameters​

ParameterType
targetstring | ReactiveElementBase
milestone?AnimationMilestone

Returns​

this