mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 11:11:20 -08:00
chore: Update mount parameter type in Danmuku and Setting classes
This commit is contained in:
1 parent
27284099d7
commit
7ed2f58e6a
5 files changed
+13
-9
No files matched your search
@@ -96,7 +96,7 @@ type Option = {
|
||||
/**
|
||||
* 弹幕发射器挂载点, 默认为播放器控制栏中部
|
||||
*/
|
||||
mount?: Element;
|
||||
mount?: HTMLDivElement | string;
|
||||
|
||||
/**
|
||||
* 是否开启弹幕热度图
|
||||
@@ -188,7 +188,7 @@ type Danmuku = {
|
||||
/**
|
||||
* 挂载弹幕输入框
|
||||
*/
|
||||
mount: (el?: Element) => void;
|
||||
mount: (el?: HTMLDivElement | string) => void;
|
||||
|
||||
/**
|
||||
* 重置弹幕
|
||||
|
||||
Reference in new issue
Block a user