mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 10:01:20 -08:00
feat: allow custom properties in Setting and Selector interfaces
This commit is contained in:
1 parent
fb8975272c
commit
cf5057fa89
2 files changed
+13
-2
No files matched your search
+4
-1
@@ -90,5 +90,8 @@ export interface Setting {
|
||||
*/
|
||||
onClick?: (this: Artplayer, item: SettingOption, element: HTMLDivElement, event: Event) => void
|
||||
|
||||
[key: string]: unknown
|
||||
/**
|
||||
* Allow custom properties
|
||||
*/
|
||||
[key: string]: any
|
||||
}
|
||||
Reference in new issue
Block a user