mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
Fix selector style
This commit is contained in:
1 parent
703e9e8a80
commit
7476f1c32d
4 files changed
+10
-8
No files matched your search
Vendored
+3
-3
@@ -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>;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user