File

projects/components/src/widgets/common/login/login.component.doc.ts

Description

The wmLogin component defines the login widget.

Index

Methods
Inputs

Methods

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

This event handler is called before rendering the fields.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the widget

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

This event handler is called whenever an error event is triggered.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the widget

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

This event handler is called whenever a submit event is triggered.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the widget

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

This event handler is called whenever a success event is triggered.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the widget

Returns : void

Inputs

errormessage

This message will be displayed, if there is an error during the login operation.

Type : string

name

Name of the login widget.

Type : string

show

This property will be used to show/hide the login widget on the web page.

Bindable: true

Type : boolean

Default value : true

result-matching ""

    No results matching ""