Share via


Button (fx.Button.js)

 

Applies To: Windows Azure Pack

fxButton turns an element into an ARIA-compliant button.

Windows Azure Pack fxButton

Supported Services

Service

Supported

Undo/Redo

Not Applicable

Validation

Not Applicable

Widgets

$("Selector").fxButton()

Properties

Name

Type

Description

fx.fxButton.options.click

Function

Callback function called when the button is clicked.

fx.fxButton.options.pressed

Boolean

Current pressed state. This value stays false if toggle is false.

fx.fxButton.options.selector

String

jQuery selector indicating what tag changes it's image source.

fx.fxButton.options.state

String

Current state of the mouse. Possible values: initial, hover and active.

fx.fxButton.options.submit

Boolean

Indicates if the button acts as a submit button. If true, when clicked, the button will trigger a submit event.

fx.fxButton.options.tabindex

Number

Tabindex of the button, some should be non tabbable by design (e.g. copybutton).

fx.fxButton.options.toggle

Boolean

Indicates if the control is a press-able button.

Methods

Name

Description

Returns

Parameters

fx.fxButton.destroy

Destroys the widget.

Nothing

None

Enums

Name

Fields

fx.fxButton.options.text

fx.fxButton.options.url

See Also

Windows Azure Pack Extension Common Control Services
Windows Azure Pack Management Portal User Interface Extensions