How tsslogin works - zerocodeplatform/tss-login GitHub Wiki

Welcome to the tss-login-builder.

Steps to follow to use the tss-login.

  • Enter the command npm install tss-login in the terminal.
  • Install below dependencies

       1. npm install --save @angular/[email protected]
       2. npm install --save [email protected]
       3. npm install --save @angular/[email protected]
       4. npm install --save [email protected]

  • import the module in the app.module.ts file(import { LoginModule } from 'tsslogin').

  • import the type in the imports of @NgModule(LoginModule).

  • Use the selector in app.component.html which will be present in the component of your library(<tss-login></tss-login>).

  • To provide option declare variable options in app.component.ts and bind it to interface of tsslogin library


    Example: options:LoginImageProperties

  • Now assign json to options as:

this.options={ name:'', displayName:'vricky', logo:'vik.txt', dataset:'' }


  • Modify the tag in app.component.html to <tss-login [options]="options"></tss-login>

FOR DEMO VISIT:tssLogin

⚠️ **GitHub.com Fallback** ⚠️