update docs

This commit is contained in:
Harvey committed 2022-02-11 15:33:28 +08:00
1 parent 7b0dd9618d
commit c0ed71881b
62 files changed
+525 -396

No files matched your search

+8 -14
View File
@@ -565,34 +565,28 @@ var art = new Artplayer({
selector: [
{
html: 'Submenu 01',
onSelect: function() {
console.log('You click on the submenu 01');
}
},
{
html: 'Submenu 02',
onSelect: function() {
console.log('You click on the submenu 02');
}
},
]
],
onSelect: function(item) {
console.log(item.html);
}
},
{
html: 'Custom setting 02',
selector: [
{
html: 'Submenu 01',
onSelect: function() {
console.log('You click on the submenu 01');
}
},
{
html: 'Submenu 02',
onSelect: function() {
console.log('You click on the submenu 02');
}
},
]
],
onSelect: function(item) {
console.log(item.html);
}
},
],
});