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
| Parameter | Type |
|---|---|
element | DOMElement |
Returns
void
Properties
| Property | Type | Description |
|---|---|---|
values | Readonly<{ progress: number; }> | Current sweep fraction. Default: 0. |
Methods
to()
to(
props:object):ElementTransition
Animates the light on the stage clock.
Parameters
| Parameter | Type |
|---|---|
props | { progress?: ReactiveProp<number>; } |
props.progress? | ReactiveProp<number> |