1.0.2 • Published 6 years ago

uc-login v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Unchained UI

Login

NPM Version NPM Downloads

Login screen

Usage

import Login from 'uc-login';

const login = new Login({
  container: document.body,
  hotkey: 'ctrl+l'
});

Default options are used in the example above.

The api in the app must have auth controller.

Methods

show(err)

Show the login screen. If err is provide the err.message will be shown.

hide()

Hides the login screen.

License MIT

© velocityzen