Class: Button

hui.ui.Bar. Button


new Button(options)

A bar button

options: {
 element : «Element»,
 name : «String»
}
Parameters:
Name Type Description
options Object

The options

Source:

Methods


<static> create(options)

Creates a new bar button

options: {
 icon : «String»,

 name : «String»
}
Parameters:
Name Type Description
options Object

The options

Source:

setSelected(selected)

Mark the button as selected

Parameters:
Name Type Description
selected Boolean

If it should be marked selected

Source: