Class: mxui/widget/_Button

mxui/widget/_Button

A base class that can be used for buttons in custom widgets.

Constructor

new mxui/widget/_Button()

Constructs a new _Button.

Members

caption :string

Caption of the button.

This is a dijit attribute and should be accessed using dijit._WidgetBase's get and set methods.

Type:
  • string
See:

iconClass :string

The CSS class specifying the button's icon.

The class should specify an appropriately set background.

This is a dijit attribute and should be accessed using dijit._WidgetBase's get and set methods.

Type:
  • string
See:

iconUrl :string

The URL of the button's icon.

This is a dijit attribute and should be accessed using dijit._WidgetBase's get and set methods.

Type:
  • string
See:

iconVisible :boolean

The visibility of the button's icon.

This is a dijit attribute and should be accessed using dijit._WidgetBase's get and set methods.

Type:
  • boolean
See: