BugSplat-Git / ngx-animated-counter

Angular counting animations made as easy as 1️⃣2️⃣3️⃣ !

Home Page:https://bugsplat-git.github.io/ngx-animated-counter-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bugsplat-github-banner-basic-outline

BugSplat

Crash and error reporting built for busy developers.

👋 Introduction

BugSplat's @bugsplat/ngx-animated-counter package provides simple count up and count down number animations. Take a peek our example that demonstrates our animated counter.

🏗 Installation

npm i -s @bugsplat/ngx-animated-counter

🏃 Usage

Add the NgxAnimatedCounterModule to your module's imports:

import { NgxAnimatedCounterModule } from '@bugsplat/ngx-animated-counter'

@NgModule({
  ...
  imports: [
    NgxAnimatedCounterModule
  ],
  ...
})

The ngx-animated-counter component takes one input the properties start (number to being the animation), end (number to end the animation), interval (time in ms between increments), and increment (number to increment by each interval):

public params: NgxAnimatedCounterParams = { start: 20, end: 220, interval: 10, increment: 20 };

Add the counter to your component's template:

<ngx-animated-counter [params]="params"></ngx-animated-counter>

🐛 About

ngx-animated-counter is an open source tool from BugSplat! BugSplat is a crash and error reporting tool used by developers to find when their software crashes while in use, and to collect data valuable to fixing those errors. If you're interested in error reporting, check out our Angular integration.

With ❤️
BugSplat

About

Angular counting animations made as easy as 1️⃣2️⃣3️⃣ !

https://bugsplat-git.github.io/ngx-animated-counter-example

License:MIT License


Languages

Language:TypeScript 78.3%Language:JavaScript 12.6%Language:HTML 5.4%Language:SCSS 3.7%