Appearance
anim-format (runtime format) / bubbleClipEvent
Function: bubbleClipEvent()
ts
function bubbleClipEvent<C>(
clip,
symbol,
name,
value,
frame,
fire
): ClipEvent<unknown, C>;Fires name on clip (stored frame frame of symbol), then on every clip holding it, until one stops the event. A destroyed clip emits nothing; a destroyed clip on the way up is skipped (the walk goes on above it). fire hands the event to one clip's listeners.
Type Parameters
| Type Parameter |
|---|
C extends EmitClip<C> |
Parameters
| Parameter | Type |
|---|---|
clip | C |
symbol | AnimSymbol |
name | string |
value | unknown |
frame | number |
fire | (clip, event) => void |
Returns
ClipEvent<unknown, C>