3.5.2.1Button styles for common dialogs

As you can see in the above example, you can not only set the title and text of the dialog, but you can also override the buttons. Each button definition can have the following properties:

Button property

Description

text

Text to display in the button

value

Value to pass back to your asynchronous handler if the button is clicked

className

Optional CSS class for the button. Common options are btn-red, btn-blue, btn-green, btn-pink, btn-amber, btn-standard