mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
update docs
This commit is contained in:
1 parent
9700b2dff9
commit
ec38a16be0
166 files changed
+2964
-2669
No files matched your search
Vendored
+10
-2
@@ -369,6 +369,14 @@ export type Events = {
|
||||
'video:timeupdate': [event: Event];
|
||||
'video:volumechange': [event: Event];
|
||||
'video:waiting': [event: Event];
|
||||
info: [state: boolean];
|
||||
layer: [state: boolean];
|
||||
loading: [state: boolean];
|
||||
mask: [state: boolean];
|
||||
subtitle: [state: boolean];
|
||||
contextmenu: [state: boolean];
|
||||
control: [state: boolean];
|
||||
setting: [state: boolean];
|
||||
hotkey: [event: Event];
|
||||
destroy: [];
|
||||
url: [url: string];
|
||||
@@ -402,7 +410,7 @@ export type Events = {
|
||||
restart: [];
|
||||
};
|
||||
|
||||
type I18nKeys = 'en' | 'zh-cn' | 'zh-tw' | 'pl' | 'cs' | 'es' | 'fa' | 'fr' | 'id' (string & Record<never, never>);
|
||||
type I18nKeys = 'en' | 'zh-cn' | 'zh-tw' | 'pl' | 'cs' | 'es' | 'fa' | 'fr' | `id` (string & Record<never, never>);
|
||||
|
||||
type I18nValue = {
|
||||
'Video Info': string;
|
||||
@@ -1060,4 +1068,4 @@ export type Utils = {
|
||||
escape(str: string): string;
|
||||
capitalize(str: string): string;
|
||||
isStringOrNumber(val: any): boolean;
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user