参数列表

参数名 类型 描述 默认值
items Array    

items参数 示例:

1 $("#topmenu").ligerMenuBar({ items: [ 2 { 3 text: '文件', menu: { 4 width: 120, items: 5 [ 6 { text: '保存', click: itemclick }, 7 { text: '列存为', click: itemclick }, 8 { line: true }, 9 { text: '关闭', click: itemclick } 10 ] 11 } 12 } 13 ] 14 });