projects/components/widgets/dialogs/confirm-dialog/src/confirm-dialog.component.doc.ts
The wmConfirmdialog component defines the confirmdialog widget.
Methods |
Inputs |
| onCancel | ||||||||||||
onCancel($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the cancel button for the dialog is clicked.
Parameters :
Returns :
void
|
| onOk | ||||||||||||
onOk($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the ok button for the dialog is clicked.
Parameters :
Returns :
void
|
| onOpen | ||||||||||||
onOpen($event: MouseEvent, widget: any)
|
||||||||||||
|
Callback function which will be triggered when the dialog is opened.
Parameters :
Returns :
void
|
| animation |
Type : string
|
Default value : ''
|
|
This property specifies the animation applied to the confirmdialog widget. Allowed Values: |
| canceltext |
Type : string
|
Default value : 'CANCEL'
|
|
This property specifies the cancel button text for the confirmdialog widget. Bindable: |
| closable |
Type : boolean
|
Default value : true
|
|
This property specifies if the dialog will have the close icon in header or not |
| iconclass |
Type : string
|
Default value : 'wi wi-done'
|
|
This property sets the icon for dialog header. Bindable: |
| iconheight |
Type : string
|
|
This property sets the icon height for icon in dialog header. |
| iconmargin |
Type : string
|
|
This property sets the icon margin for icon in dialog header. |
| iconurl |
Type : string
|
|
This property sets the url for icon in dialog header. Bindable: |
| iconwidth |
Type : string
|
|
This property sets the icon width for icon in dialog header. |
| message |
Type : string
|
Default value : 'I am an confirm box!'
|
|
This property specifies the message for the confirmdialog widget. Bindable: |
| modal |
Type : boolean
|
Default value : false
|
|
This property specifies if the dialog should behave as a modal or not |
| name |
Type : string
|
|
Name of the confirmdialog widget. |
| oktext |
Type : string
|
Default value : 'OK'
|
|
This property specifies the ok button text for the confirmdialog widget. Bindable: |
| tabindex |
Type : number
|
Default value : 0
|
|
This property specifies the tab order of the confirmdialog Widget. |
| title |
Type : string
|
Default value : 'Confirm'
|
|
This property specifies the title for the confirmdialog widget. Bindable: |