uc-login

1.0.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i uc-login

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

67.1 kB

Total Files

15

Last publish

Collaborators

  • velocityzen