UNPKG

@pixi/animate

Version:

PIXI plugin for the PixiAnimate Extension

14 lines (13 loc) 468 B
import { EventEmitter } from '@pixi/utils'; /** * @description Event emitter for all sound events. This emits a single * `play` event which contains the alias, loop and MovieClip which is playing * the sound. * @example * * PIXI.animate.sound.on('play', (alias, loop, context) => { * // custom handle sounds being played * // where 'alias' is the ID in stage assets * }); */ export declare const sound: EventEmitter<string | symbol, any>;