나는이 같은 ExtJS에 버튼이 있습니다의 ExtJS unpress 버튼
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'}
]
})
})
그의 상태를 한 번 누르면됩니다 그리고 내가 스크립트에서 원하는 때 그것을 unpress 수있는 방법을 알고 싶어요.
감사합니다. 버튼에
어떻게 분할되지 않은 버튼이 어떻게 생겼습니까? – Lukman
그의 초기 상태처럼 보입니다. –