【发布时间】:2014-01-27 17:13:09
【问题描述】:
我有一个这样的 ExtJS 按钮:
new Ext.SplitButton({
text: 'Index',
iconCls: 'index',
scale: 'large',
iconAlign: 'left',
cls: 'header-item',
handler: leftPanelNav, // handle a click on the button itself
menu: new Ext.menu.Menu({
items: [
// these items will render as dropdown
// menu items when the arrow is clicked:
{text: 'Item 1'},
{text: 'Item 2'}
]
})
})
他的状态会被按下一次,我想知道当我想从脚本中解压时如何解压。
谢谢。
【问题讨论】:
-
未按下的拆分按钮是什么样子的?
-
看起来像他的初始状态。