mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02:01:20 -08:00
update docs
This commit is contained in:
1 parent
7b0dd9618d
commit
c0ed71881b
62 files changed
+525
-396
No files matched your search
@@ -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);
|
||||
}
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user