Button

Button

This is a button widget. It can have text, an icon or both.




Constructor

new Button()

Source:

Members

icon

Change the FontAwesome icon used on the button.

Source:

id

Change the CSS id of the button, but this shouldn't ordinarily be required.

Source:

onClick

Change the onClick handler for the button.

Source:

position

Change the position of the button.

Source:

size

Change the size of the button: 'default' or 'large'.

Source:

style

Change the style of the button: 'primary', 'success', 'danger' or 'default'. This affects the button colour.

Source:

text

Change the text on the button.

Source: