Skip to main content

Interface: ShineEffect()

One shared light, attached to one or more elements on the same stage.

Extends​

ShineEffect(element: DOMElement): void

One shared light, attached to one or more elements on the same stage.

Parameters​

ParameterType
elementDOMElement

Returns​

void

Properties​

PropertyTypeDescription
valuesReadonly<{ progress: number; }>Current sweep fraction. Default: 0.

Methods​

to()​

to(props: object): ElementTransition

Animates the light on the stage clock.

Parameters​

ParameterType
props{ progress?: ReactiveProp<number>; }
props.progress?ReactiveProp<number>

Returns​

ElementTransition