This commit is contained in:
Harvey authored and Harvey Zack committed 2022-02-11 11:20:54 +08:00
1 parent 4d66a8538d
commit 17f79d0b22
12 files changed
+45 -39

No files matched your search

@@ -562,16 +562,16 @@ var art = new Artplayer({
settings: [
{
html: 'Custom setting 01',
children: [
selector: [
{
html: 'Submenu 01',
click: function() {
onSelect: function() {
console.log('You click on the submenu 01');
}
},
{
html: 'Submenu 02',
click: function() {
onSelect: function() {
console.log('You click on the submenu 02');
}
},
@@ -579,16 +579,16 @@ var art = new Artplayer({
},
{
html: 'Custom setting 02',
children: [
selector: [
{
html: 'Submenu 01',
click: function() {
onSelect: function() {
console.log('You click on the submenu 01');
}
},
{
html: 'Submenu 02',
click: function() {
onSelect: function() {
console.log('You click on the submenu 02');
}
},
@@ -562,34 +562,34 @@ var art = new Artplayer({
settings: [
{
html: '自定义设置01',
children: [
selector: [
{
html: '子菜单01',
click: function() {
onSelect: function() {
console.log('你点击了子菜单01');
}
},
{
html: '子菜单02',
click: function() {
console.log('你点击了子菜单01');
onSelect: function() {
console.log('你点击了子菜单02');
}
},
]
},
{
html: '自定义设置02',
children: [
selector: [
{
html: '子菜单01',
click: function() {
onSelect: function() {
console.log('你点击了子菜单01');
}
},
{
html: '子菜单02',
click: function() {
console.log('你点击了子菜单01');
onSelect: function() {
console.log('你点击了子菜单02');
}
},
]