update docs

This commit is contained in:
Harvey Zack committed 2023-02-24 21:52:52 +08:00
1 parent 9700b2dff9
commit ec38a16be0
166 files changed
+2964 -2669

No files matched your search

+10 -2
View File
@@ -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;
};
};