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