add switcher

This commit is contained in:
Harvey committed 2020-06-01 11:15:43 +08:00
1 parent 65fd3fb9e6
commit 74d637fc65
10 files changed
+248 -38

No files matched your search

+10
View File
@@ -52,6 +52,16 @@ 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;