@mediatrack/open-player
Version:
文档见 [分秒帧开放平台](https://open.mediatrack.cn/#/docs/api/jssdk/player)
21 lines • 550 B
TypeScript
import LilliaCore from "./index";
export default class LilliaComponent {
id: string | null;
data: any;
core: LilliaCore;
constructor(core: LilliaCore);
on(type: string, cb: (data: {
from: string;
content: any;
}) => void): void;
off(type: string, cb: (data: {
from: string;
content: any;
}) => void): void;
emit(type: string, detail: {
elevent: string;
[key: string]: any;
}, toIds: string[]): void;
destroy(): void;
}
//# sourceMappingURL=component.d.ts.map