add proxy() to instance

This commit is contained in:
Harvey committed 2021-12-03 11:02:35 +08:00
1 parent 177ded8c2c
commit 47128ecf9d
44 files changed
+164 -109

No files matched your search

+1
View File
@@ -189,6 +189,7 @@ declare class Artplayer extends Player {
emit(name: string): void;
off(name: string, callback?: Function): void;
query(selector: string): HTMLElement;
proxy(target: HTMLElement, name: string, callback: Function, option?: object): Function;
destroy(removeHtml?: boolean): void;
readonly template: {