Class type Ext_button_Button.events


class type events = object .. end
Inherits
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:


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:


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:


method menuhide : '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:


method menushow : '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:


method menutriggerout : '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:


method menutriggerover : '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:


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:


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:


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:


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: