File

projects/components/src/widgets/common/dialog/confirm-dialog/confirm-dialog.component.doc.ts

Description

The wmConfirmdialog component defines the confirmdialog widget.

Index

Methods
Inputs

Methods

onCancel
onCancel($event: MouseEvent, widget: any)

Callback function which will be triggered when the cancel button for the dialog is clicked.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the confirmdialog widget

Returns : void
onOk
onOk($event: MouseEvent, widget: any)

Callback function which will be triggered when the ok button for the dialog is clicked.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the confirmdialog widget

Returns : void
onOpen
onOpen($event: MouseEvent, widget: any)

Callback function which will be triggered when the dialog is opened.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the confirmdialog widget

Returns : void

Inputs

animation

This property specifies the animation applied to the confirmdialog widget.

Allowed Values: Standard Patterns like 'bounce', 'fadeIn', 'rotateOut', 'check', etc

Type : string

Default value : ''

canceltext

This property specifies the cancel button text for the confirmdialog widget.

Bindable: true

Type : string

Default value : 'CANCEL'

closable

This property specifies if the dialog will have the close icon in header or not

Type : boolean

Default value : true

iconclass

This property sets the icon for dialog header.

Bindable: true

Type : string

Default value : 'wi wi-done'

iconheight

This property sets the icon height for icon in dialog header.

Type : string

iconmargin

This property sets the icon margin for icon in dialog header.

Type : string

iconurl

This property sets the url for icon in dialog header.

Bindable: true

Type : string

iconwidth

This property sets the icon width for icon in dialog header.

Type : string

message

This property specifies the message for the confirmdialog widget.

Bindable: true

Type : string

Default value : 'I am an confirm box!'

modal

This property specifies if the dialog should behave as a modal or not

Type : boolean

Default value : false

name

Name of the confirmdialog widget.

Type : string

oktext

This property specifies the ok button text for the confirmdialog widget.

Bindable: true

Type : string

Default value : 'OK'

tabindex

This property specifies the tab order of the confirmdialog Widget.

Type : number

Default value : 0

title

This property specifies the title for the confirmdialog widget.

Bindable: true

Type : string

Default value : 'Confirm'

result-matching ""

    No results matching ""