evolvus-login-component

0.0.2 • Public • Published

LoginComoponent

This project was generated with Angular CLI version 1.6.8.

Usage

npm install --save evolvus-login-component

npm install --save bootstrap@3

and update .angular-cli.json file "styles": [ "styles.css", "../node_modules/bootstrap/dist/css/bootstrap.min.css" ],

Then Import EvolvusLoginModule to your AppModule then in your HTML file

use <app-login [title]="'Example'" (onLogin)="yourOwnMethod($event)"></app-login>

title is attribute to display on login form mandatory onLogin is en emitted event on submitting the form if valid,emitted object {username,password} yourOwnMethod($event) you can write your own method example login(event:any){ console.log(JSON.stringify(event)); }

Readme

Keywords

none

Package Sidebar

Install

npm i evolvus-login-component

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

18.9 MB

Total Files

2732

Last publish

Collaborators

  • shrimandk