- Install the package :
npm install ang-clap --save
Import AngClapModule into NgModule in app.module.ts.
import { AngClapModule } from 'ang-clap';
@NgModule({
// ...
imports: [
AngClapModule
]
// ...
})Add the following component tag in you template
<ang-clap fillColor="purple"
[claps]="6"
[showBorder]="true"
[showAnimation]="true"
[maxClaps]="10"
(mouseClickEvent)="clap($event)"
(mouseLeaveEvent)="updateClap()"
(clearClapsEvent)="removeClap()">
</ang-clap>click animation on slider
- Clone the repository or downlod the .zip,.tar files.
- Run
npm install - Run
ng servefor a dev server - Navigate to
http://localhost:4200/
free to use on any purpose.
