J'ai un bouton ExtJS comme ceci:Extjs bouton 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'}
]
})
})
Son état sera pressé à la fois et je veux savoir comment puis-je unpress quand je veux du script.
Merci.
À quoi ressemble un bouton de décompression non compressé? – Lukman
Cela ressemble à son état initial. –