2009-09-17 74 views
6

我有一個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它,當我從劇本想。

謝謝。按鈕

+0

如何未壓接劈扣是什麼樣子? – Lukman 2009-09-17 00:37:05

+0

它看起來像他的初始狀態。 – 2009-09-17 10:03:48

回答