Buttons

API Documentation

Basic markup

button elements and input elements with type="button", type="submit", or type="reset" are automatically enhanced by the Button widget. To have links styled as buttons you can add data-role="button" to the a element to initialize the Button widget.

Anchor

Enhanced

Link text

Corners

Shadow

Inline

Mini

Mini inline

Theme

Icons

Link buttons and button elements can contain icons. The use of icons in input buttons is no longer supported.

Icon position

Disabled

Native inputs and button