mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -08:00
优化ts
This commit is contained in:
1 parent
9760d6268f
commit
bafbd78018
7 files changed
+10
-9
No files matched your search
+2
-1
@@ -7,6 +7,7 @@ type Component = {
|
||||
click?: Function;
|
||||
mounted?: Function;
|
||||
tooltip?: string;
|
||||
position?: 'top' | 'left' | 'right';
|
||||
};
|
||||
|
||||
export default class Artplayer {
|
||||
@@ -16,7 +17,7 @@ export default class Artplayer {
|
||||
poster?: string;
|
||||
title?: string;
|
||||
theme?: string;
|
||||
lang?: string;
|
||||
lang?: 'en' | 'zh-cn' | 'zh-tw';
|
||||
volume?: number;
|
||||
isLive?: boolean;
|
||||
muted?: boolean;
|
||||
|
||||
Reference in new issue
Block a user