API Docs for:
Show:

LoginView Class

Defined in: app/views/login.js:14
Module: views.login
Parent Module: views

The LoginView class.

Item Index

Methods

Methods

login

(
  • ev
)
Undefined

Login event handler. When clicking the login form submit button, disable the form, take username and password from the input fields and put them in the environment, and call the environment login method.

Parameters:

  • ev Object

    An event object (with a "currentTarget" attribute).

Returns:

Undefined: Mutates only.

render

() Undefined

Render the page.

Reveal the mask element, and show the login form.

Returns:

Undefined: Mutates only.