Appearance
anim-format (runtime format) / ClipEvent
Class: ClipEvent<V, C>
What a listener of an emit action is given. value is whatever the action carries (plain JSON or nothing); frame is counted as that timeline shows it (frameBase, default 1).
Type Parameters
| Type Parameter | Default type |
|---|---|
V | unknown |
C | unknown |
Constructors
Constructor
ts
new ClipEvent<V, C>(
name,
target,
value,
frame,
section
): ClipEvent<V, C>;Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | the event name the action carries |
target | C | the clip that emitted it |
value | V | the action's value (undefined = none) |
frame | number | the frame it was emitted on, as that timeline shows it |
section | string | undefined | the section that frame is in (undefined = none) |
Returns
ClipEvent<V, C>
Properties
Accessors
propagationStopped
Get Signature
ts
get propagationStopped(): boolean;a listener called stopPropagation()
Returns
boolean
Methods
stopPropagation()
ts
stopPropagation(): void;no clip further out hears this event
Returns
void