This commit is contained in:
Harvey committed 2022-02-14 09:49:49 +08:00
1 parent 222f786b88
commit ce677ef602
62 files changed
+245 -224

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ var art = new Artplayer({
{
width: 200,
html: 'Custom Setting',
description: 'Click This',
tooltip: 'Click This',
icon: '<img width="22" heigth="22" src="/assets/img/indicator.svg">',
selector: [
{
+6 -1
View File
@@ -86,6 +86,11 @@ type SettingOption = {
*/
width?: number;
/**
* The tooltip of setting
*/
tooltip?: string;
/**
* Whether the default is selected
*/
@@ -701,5 +706,5 @@ declare class Artplayer extends Player {
readonly contextmenu: Record<string, HTMLElement> & Component;
readonly setting: Component;
readonly setting: Record<string, HTMLElement> & Component;
}