Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.04 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.04 KB

Angular 8+ medium clap

Stackblitz example

alt text

Getting Started

Installation

  • Install the package : npm install ang-clap --save

Usage

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>

Todos

click animation on slider

Run locally

  • Clone the repository or downlod the .zip,.tar files.
  • Run npm install
  • Run ng serve for a dev server
  • Navigate to http://localhost:4200/

License

free to use on any purpose.