File

projects/components/src/widgets/common/dialog/login-dialog/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

This property specifies the animation applied to the logindialog widget.

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

Type : string

Default value : ''

iconclass

This property sets the icon for dialog header.

Bindable: true

Type : string

Default value : 'wi wi-sign-in'

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

modal

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

Type : boolean

Default value : false

name

Name of the logindialog widget.

Type : string

title

This property specifies the title for the logindialog widget.

Bindable: true

Type : string

result-matching ""

    No results matching ""