mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
调整选择器参数
This commit is contained in:
1 parent
c621687988
commit
53d2f12ab6
8 files changed
+45
-70
No files matched your search
+5
-12
@@ -8,8 +8,11 @@ type Component = {
|
||||
mounted?: Function;
|
||||
tooltip?: string;
|
||||
position?: 'top' | 'left' | 'right';
|
||||
selector?: string[];
|
||||
onSelect?: Function,
|
||||
selector?: {
|
||||
name: string;
|
||||
value: string;
|
||||
}[];
|
||||
onSelect?: Function;
|
||||
};
|
||||
|
||||
export default class Artplayer {
|
||||
@@ -54,16 +57,6 @@ export default class Artplayer {
|
||||
name: string;
|
||||
url: string;
|
||||
}[];
|
||||
switcher?: {
|
||||
index?: number;
|
||||
click?: Function;
|
||||
name?: string;
|
||||
default?: string;
|
||||
list: {
|
||||
name: string;
|
||||
text: string;
|
||||
}[];
|
||||
}[];
|
||||
highlight?: {
|
||||
time: number;
|
||||
text: string;
|
||||
|
||||
Reference in new issue
Block a user