@serenity-is/corelib / DialogButton
Interface: DialogButton
Options for a message dialog button
Table of contents
Properties
Properties
click
• Optional click: (e: MouseEvent) => void
Type declaration
▸ (e): void
Click handler
Parameters
| Name | Type |
|---|---|
e |
MouseEvent |
Returns
void
Defined in
cssClass
• Optional cssClass: string
CSS class for button
Defined in
hint
• Optional hint: string
Button hint
Defined in
htmlEncode
• Optional htmlEncode: boolean
HTML encode button text. Default is true.
Defined in
icon
• Optional icon: string
Button icon
Defined in
result
• Optional result: string
The code that is returned from message dialog function when this button is clicked
Defined in
text
• Optional text: string
Button text