UNPKG

@tarojs/components

Version:
21 lines (20 loc) 561 B
import { ComponentInterface } from '../../stencil-public-runtime'; export interface Danmu { text: string; color: string; time: number; key: number; bottom: string; } export declare class VideoDanmu implements ComponentInterface { private list; private danmuElList; private currentTime; enable: boolean; danmuList: Danmu[]; ensureProperties(danmu: Partial<Danmu>): Danmu; sendDanmu(danmuList?: Partial<Danmu> | Partial<Danmu>[]): Promise<void>; tick(currentTime: number): Promise<void>; componentDidUpdate(): void; render(): any; }