feat: Add STYLE property to Artplayer class

This commit is contained in:
Harvey Zack committed 2024-06-19 19:13:04 +08:00
1 parent cf0c3d9b09
commit 5a0b80b03e
2 files changed
+2

No files matched your search

+1
View File
@@ -212,6 +212,7 @@ export default class Artplayer extends Emitter {
}
}
Artplayer.STYLE = style;
Artplayer.DEBUG = false;
Artplayer.CONTEXTMENU = true;
Artplayer.NOTICE_TIME = 2000;
+1
View File
@@ -42,6 +42,7 @@ declare class Artplayer extends Player {
static readonly html: Artplayer['template']['html'];
static readonly option: Option;
static STYLE: string;
static DEBUG: boolean;
static CONTEXTMENU: boolean;
static NOTICE_TIME: number;