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

Optionaldestructive: boolean


disable

Optionaldisable: boolean | void


label

label: string

Name of the action. Example: "Save" or "Cancel"


secondary

Optionalsecondary: boolean


tertiary

Optionaltertiary: boolean