File

projects/components/widgets/dialogs/alert-dialog/src/alert-dialog.component.doc.ts

Description

The wmAlertdialog component defines the alertdialog widget.

Index

Methods
Inputs

Methods

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 alertdialog 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 alertdialog widget

Returns : void

Inputs

alerttype
Type : string
Default value : 'error'

This property defines the alerttype of the alertdialog widget.

Allowed Values: Standard Patterns like 'error', 'information', 'success', 'warning'

animation
Type : string
Default value : ''

This property specifies the animation applied to the alertdialog widget.

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

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-warning'

This property sets the icon for dialog header.

Bindable: true

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: true

iconwidth
Type : string

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

message
Type : string
Default value : 'I am an alert box!'

This property specifies the message for the alertdialog widget.

Bindable: true

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 alertdialog widget.

oktext
Type : string
Default value : 'OK'

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

Bindable: true

tabindex
Type : number
Default value : 0

This property specifies the tab order of the alertdialog Widget.

title
Type : string
Default value : 'Alert'

This property specifies the title for the alertdialog widget.

Bindable: true

results matching ""

    No results matching ""