Interface: ModalAction
ModalApi.ModalAction
Description
Button placed at the bottom of a modal
Properties
Properties
callback
- callback: (
ctrl
: DialogController
, viewModel
: any
) => void
Type declaration
The ModalAction's event handler
Parameters
Name |
Type |
ctrl
|
DialogController
|
viewModel
|
any
|
Returns
void
destructive
Optional
destructive: boolean
disable
Optional
disable: boolean
| void
label
Name of the action. Example: "Save" or "Cancel"
loading
Optional
loading: boolean
| void
secondary
Optional
secondary: boolean
tertiary
Optional
tertiary: boolean