mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 04:36:15 -08:00
update setting
This commit is contained in:
1 parent
81ba45adf9
commit
1de2d2aaed
12 files changed
+177
-153
No files matched your search
@@ -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;
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user