Fix selector style

This commit is contained in:
Harvey committed 2021-12-09 09:18:51 +08:00
1 parent 703e9e8a80
commit 7476f1c32d
4 files changed
+10 -8

No files matched your search

+3 -3
View File
@@ -11,7 +11,7 @@ interface ComponentOption {
disable?: boolean;
name?: string;
index?: number;
style?: object;
style?: ElementCSSInlineStyle['style'];
click?(component: Component, event: Event): void;
mounted?(element: HTMLElement): void;
tooltip?: string;
@@ -91,7 +91,7 @@ interface Option {
};
subtitle?: {
url: string;
style: object;
style: ElementCSSInlineStyle['style'];
encoding: string;
bilingual: boolean;
};
@@ -291,7 +291,7 @@ declare class Artplayer extends Player {
set show(state: boolean);
set toggle(state: boolean);
get url(): string;
style(name: string | object, value?: string): HTMLElement;
style(name: string | ElementCSSInlineStyle['style'], value?: string): HTMLElement;
switch(url: string, option?: object): Promise<string>;
};