Login (Angular)

This guide demonstrates how to use the Login component.

Login Properties

Name Type Default Description
Name string ‘login’ + index suffix Unique name of the login.
AllowRegister boolean/expression true Is Register button visible.
AllowResetPassword boolean/expression true Is Reset password button visible.
LoginText string ‘Login’ Login button text.
RegisterText string ‘Register’ Register button text.
UserText string ‘Username’ User label text.
UserRequiredText string ‘Username is required’ User requred text.
PasswordText string ‘Password’ Password label text.
PasswordRequiredText string ‘Password is required’ Password requred text.

Login Events

Name Type Default Description
Login event null Login event. Object with username and password properties as event argument.
Register event null Register event. No event arguments.

For more info about event actions please visit event actions in our documentation.

Angular declaration

<rz-login #login0 (login)="login0Login($event)">