Ich habe eine ExtJS-Taste wie folgt aus:ExtJS UNPRESS Taste
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'}
]
})
})
Sein Zustand zu einem Zeitpunkt gedrückt wird, und ich möchte wissen, wie kann ich es UNPRESS, wenn ich von Skript zu wollen.
Vielen Dank.
Wie sieht ein gepresster Split-Button aus? – Lukman
Es sieht aus wie sein Ausgangszustand. –