update setting

This commit is contained in:
zhw2590582 committed 2022-02-11 20:23:27 +08:00
1 parent 81ba45adf9
commit 1de2d2aaed
12 files changed
+177 -153

No files matched your search

+5 -3
View File
@@ -30,19 +30,21 @@ var art = new Artplayer({
settings: [
{
width: 200,
html: 'Custom setting',
html: 'Custom Setting',
description: 'Click This',
icon: '<img width="22" heigth="22" src="/assets/img/indicator.svg">',
selector: [
{
default: true,
html: 'Custom setting 01',
html: 'Setting 01',
},
{
html: 'Custom setting 02',
html: 'Setting 02',
},
],
onSelect: function (item) {
console.info('You clicked on the custom setting', item.html);
return item.html;
},
},
],