File

projects/components/widgets/advanced/login/src/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
Type : string

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

name
Type : string

Name of the login widget.

show
Type : boolean
Default value : true

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

Bindable: true

results matching ""

    No results matching ""