0.0.4 • Published 3 years ago

generic-login v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Simple Angular Login Wrapper

Inputs:

placeholder1: first input placeholder;
placeholder2: second input placeholder;
bg_main: wrapper background-color;
button_bg: button background-color;
button_color: text-color of the button;
button_text: text of the login button;
error_text: validation error text;
error: bool value to enable/disable error text;
position: absolute position of login wrapper (center, top-left, top-right, bottom-right, bottom-left, center-left, center-right, center-top, center-bottom);

Outputs:

(onSubmit) = emits data object with username and password

GenericLogin

This library was generated with Angular CLI version 11.2.11.

Code scaffolding

Run ng generate component component-name --project generic-login to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project generic-login.

Note: Don't forget to add --project generic-login or else it will be added to the default project in your angular.json file.

Build

Run ng build generic-login to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build generic-login, go to the dist folder cd dist/generic-login and run npm publish.

Running unit tests

Run ng test generic-login to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago