File

projects/components/widgets/dialogs/login-dialog/src/login-dialog.directive.doc.ts

Description

The wmLogindialog component defines the logindialog widget.

Index

Methods
Inputs

Methods

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

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

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the logindialog widget

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

Callback function which will be triggered when the login fails.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the logindialog 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 logindialog widget

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

Callback function which will be triggered on submit of dialog.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the logindialog widget

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

Callback function which will be triggered when the login is successful.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the logindialog widget

Returns : void

Inputs

animation
Type : string
Default value : ''

This property specifies the animation applied to the logindialog widget.

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

iconclass
Type : string
Default value : 'wi wi-sign-in'

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.

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

title
Type : string

This property specifies the title for the logindialog widget.

Bindable: true

results matching ""

    No results matching ""