class type events =Inheritsobject
..end
method click : 'a.
(t Js.t -> Dom_html.event Js.t -> 'a Js.t -> unit)
Js.callback Js.writeonly_prop
Fires when this button is clicked, before the configured handler is invoked. Execution of the
handler may be vetoed by returning false
to this event.
Parameters:
Ext_button_Button.t Js.t
Dom_html.event Js.t
The click event
_ Js.t
The options object passed to Ext.util.Observable.addListener.
method glyphchange : 'b 'c 'd.
(t Js.t -> 'b Js.t -> 'c Js.t -> 'd Js.t -> unit)
Js.callback Js.writeonly_prop
Fired when the button's glyph is changed by the setGlyph method.
Parameters:
Ext_button_Button.t Js.t
_ Js.t
_ Js.t
_ Js.t
The options object passed to Ext.util.Observable.addListener.
method iconchange : 'e.
(t Js.t ->
Js.js_string Js.t -> Js.js_string Js.t -> 'e Js.t -> unit)
Js.callback Js.writeonly_prop
Fired when the button's icon is changed by the setIcon or setIconCls methods.
Parameters:
Ext_button_Button.t Js.t
Js.js_string Js.t
Js.js_string Js.t
_ Js.t
The options object passed to Ext.util.Observable.addListener.
'f.
(t Js.t -> Ext_menu_Menu.t Js.t -> 'f Js.t -> unit)
Js.callback Js.writeonly_prop
: If this button has a menu, this event fires when it is hidden
Parameters:
Ext_button_Button.t Js.t
Ext_menu_Menu.t Js.t
_ Js.t
The options object passed to Ext.util.Observable.addListener.
'g.
(t Js.t -> Ext_menu_Menu.t Js.t -> 'g Js.t -> unit)
Js.callback Js.writeonly_prop
: If this button has a menu, this event fires when it is shown
Parameters:
Ext_button_Button.t Js.t
Ext_menu_Menu.t Js.t
_ Js.t
The options object passed to Ext.util.Observable.addListener.
'h.
(t Js.t ->
Ext_menu_Menu.t Js.t -> Dom_html.event Js.t -> 'h Js.t -> unit)
Js.callback Js.writeonly_prop
: If this button has a menu, this event fires when the mouse leaves the menu triggering element
Parameters:
Ext_button_Button.t Js.t
Ext_menu_Menu.t Js.t
Dom_html.event Js.t
_ Js.t
The options object passed to Ext.util.Observable.addListener.
'i.
(t Js.t ->
Ext_menu_Menu.t Js.t -> Dom_html.event Js.t -> 'i Js.t -> unit)
Js.callback Js.writeonly_prop
: If this button has a menu, this event fires when the mouse enters the menu triggering element
Parameters:
Ext_button_Button.t Js.t
Ext_menu_Menu.t Js.t
Dom_html.event Js.t
_ Js.t
The options object passed to Ext.util.Observable.addListener.
method mouseout : 'j.
(t Js.t -> Dom_html.event Js.t -> 'j Js.t -> unit)
Js.callback Js.writeonly_prop
Fires when the mouse exits the button
Parameters:
Ext_button_Button.t Js.t
Dom_html.event Js.t
The event object
_ Js.t
The options object passed to Ext.util.Observable.addListener.
method mouseover : 'k.
(t Js.t -> Dom_html.event Js.t -> 'k Js.t -> unit)
Js.callback Js.writeonly_prop
Fires when the mouse hovers over the button
Parameters:
Ext_button_Button.t Js.t
Dom_html.event Js.t
The event object
_ Js.t
The options object passed to Ext.util.Observable.addListener.
method textchange : 'l.
(t Js.t ->
Js.js_string Js.t -> Js.js_string Js.t -> 'l Js.t -> unit)
Js.callback Js.writeonly_prop
Fired when the button's text is changed by the setText method.
Parameters:
Ext_button_Button.t Js.t
Js.js_string Js.t
Js.js_string Js.t
_ Js.t
The options object passed to Ext.util.Observable.addListener.
method toggle : 'm.
(t Js.t -> bool Js.t -> 'm Js.t -> unit) Js.callback
Js.writeonly_prop
Fires when the 'pressed' state of this button changes (only if enableToggle = true)
Parameters:
Ext_button_Button.t Js.t
bool Js.t
_ Js.t
The options object passed to Ext.util.Observable.addListener.