@uw-button/uw-button
v1.0.1
Published
See [Demo](https://codesandbox.io/s/prod-dawn-0y6py)
Readme
UW-Button
See Demo
npm command to install :
npm i @uw-button/uw-button
example: -
html code:
<lib-uw-button [text]="'click me'" [tabIndex]="'0'" [ariaMsg]="'add aria msg'" (tap)="onClick()" [showLoader]="showLoader">
component.ts
import { Component } from '@angular/core';
@Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { showLoader: boolean; onClick() { this.showLoader = true; console.log('clicked'); setTimeout(() => this.showLoader = false, 5000); } }
