easy-side-login
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Example Usage

<easy-side-login
    [testUsersList]="testUsersList"
    [isStaging]="false"
    (loginClicked)="login($event)"
    (sideLoginWasClosed)="sideLoginWasClosed()"
    (signupClicked)="signupClicked()"
    (forgotPasswordClicked)="forgotPasswordClicked()"
    [registerLinkOn]='true'
    [forgotLinkOn]='true'
    [loggingIn]='loggingIn'
    [title]=" 'Sign In' "
    [loginFailsBeforeRecaptcha]="2">
</easy-side-login >

  // test account easy login buttons that will only show in dev
  testUsersList = [
    {
      username: 'jeff@century.com',
      password: 'yep'
      type: 'shipping company',
    },
  ];

  openSideLogin(){
    this.sideLoginOpen=true;
  }

  sideLoginWasClosed(){
    this.sideLoginOpen=false;
  }

  signupClicked(){
    console.log("signupClicked;");
  }

  forgotPasswordClicked(){
    console.log("forgotPasswordClicked");
  }

EasySideLogin

This library was generated with Angular CLI version 10.1.3.

Code scaffolding

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

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

Build

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

Publishing

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

Running unit tests

Run ng test easy-side-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 README.

Readme

Keywords

none

Package Sidebar

Install

npm i easy-side-login

Weekly Downloads

1

Version

0.0.5

License

none

Unpacked Size

132 kB

Total Files

17

Last publish

Collaborators

  • charles221133
  • mathew_dpworld
  • charlesskinner