mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
update
This commit is contained in:
1 parent
5e9057f060
commit
4d66a8538d
18 files changed
+137
-118
No files matched your search
@@ -550,7 +550,7 @@ var art = new Artplayer({
|
||||
- Type: `Array`
|
||||
- Default: `[]`
|
||||
|
||||
Initialize custom setting panel, please visit [How to add setting](/document/Questions/)
|
||||
Initialize custom setting panel, please visit [How to add setting panel](/document/en/Questions/How%20to%20add%20setting%20panel)
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
@@ -562,7 +562,24 @@ var art = new Artplayer({
|
||||
settings: [
|
||||
{
|
||||
html: 'Custom setting 01',
|
||||
items: [
|
||||
children: [
|
||||
{
|
||||
html: 'Submenu 01',
|
||||
click: function() {
|
||||
console.log('You click on the submenu 01');
|
||||
}
|
||||
},
|
||||
{
|
||||
html: 'Submenu 02',
|
||||
click: function() {
|
||||
console.log('You click on the submenu 02');
|
||||
}
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
html: 'Custom setting 02',
|
||||
children: [
|
||||
{
|
||||
html: 'Submenu 01',
|
||||
click: function() {
|
||||
|
||||
Reference in new issue
Block a user