0.0.3 • Published 4 years ago

ang-clap v0.0.3

Weekly downloads
9
License
-
Repository
-
Last release
4 years ago

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.

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago