Button

Button

Button Example

Button Example

Button Example

Simple Toggle Button Example

Simple Toggle Button Example

Simple button class that run a callback function on a button click. Extends the Ext.Button from the Extjs version 3.4.

The button by default is a Simple Button. You can handle its click callback with the ‘handler’ property.

When the ‘enableToggle’ property is set to ‘true’, the button is set as Toggle Button. In this case, you can handle its change state callback with the ‘toggleHandler’ property.

Usage: ‘\{\{button|id=ANY_UNIQUE_ID|handler={Function}|toggleHandler={function}|enableToggle={Boolean}|args…\}\}’