Class: Login

Login()

Login Component, allows user to enter their email and password and login into the Delagram.

Constructor

new Login()

Source:

Members

InputHandler

Executes at each keystroke of user for any input text field in the component. As soon as it receives any keystroke from user, this method updates the state of the component accordingly.

Source:

proceedToLogin

As the user taps on "Let me in!" button, this function fires up, and attempts to login user using Firebase SDK functions, with the credentials provided by the user. On success, user is redirected to Dashboard, else error message is rendered.

Source:

Methods

render()

Renders the Login Component using the current state of the component.

Source: