This commit is contained in:
Harvey authored and Harvey Zack committed 2022-02-11 11:20:54 +08:00
1 parent 5d97a622bb
commit 2d57f6d6d1
4 files changed
+18 -8

No files matched your search

+15 -5
View File
@@ -29,12 +29,22 @@ var art = new Artplayer({
},
settings: [
{
index: 1,
html: 'Custom setting',
click: function (setting) {
console.info('You clicked on the custom setting');
setting.show = false;
},
width: 250,
items: [
{
html: 'Custom setting 01',
click: function () {
console.info('You clicked on the custom setting 01');
},
},
{
html: 'Custom setting 02',
click: function () {
console.info('You clicked on the custom setting 02');
},
},
],
},
],
contextmenu: [