Skip to content

Commit 8fcfaae

Browse files
authored
chore: update to Angular 14 (#13)
1 parent fff1cb8 commit 8fcfaae

File tree

6 files changed

+7640
-5227
lines changed

6 files changed

+7640
-5227
lines changed

README.md

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
1-
# ngx-animated-counter
1+
[![bugsplat-github-banner-basic-outline](https://user-images.githubusercontent.com/20464226/149019306-3186103c-5315-4dad-a499-4fd1df408475.png)](https://bugsplat.com)
2+
<br/>
3+
# <div align="center">BugSplat</div>
4+
### **<div align="center">Crash and error reporting built for busy developers.</div>**
5+
<div align="center">
6+
<a href="https://twitter.com/BugSplatCo">
7+
<img alt="Follow @bugsplatco on Twitter" src="https://img.shields.io/twitter/follow/bugsplatco?label=Follow%20BugSplat&style=social">
8+
</a>
9+
<a href="https://discord.gg/K4KjjRV5ve">
10+
<img alt="Join BugSplat on Discord" src="https://img.shields.io/discord/664965194799251487?label=Join%20Discord&logo=Discord&style=social">
11+
</a>
12+
</div>
213

3-
Animations for incrementing numbers!
14+
## 👋 Introduction
415

5-
## Installation
16+
BugSplat's [@bugsplat/ngx-animated-counter](https://www.npmjs.com/package/@bugsplat/ngx-animated-counter) package provides simple count up and count down number animations. Take a peek our [example](https://bugsplat-git.github.io/ngx-animated-counter-example/) that demonstrates our animated counter.
17+
18+
## 🏗 Installation
619

720
`npm i -s @bugsplat/ngx-animated-counter`
821

9-
## Usage
22+
## 🏃 Usage
1023

11-
Add the NgxAnimatedCounterModule to your module's imports:
24+
Add the `NgxAnimatedCounterModule` to your module's imports:
1225

1326
```ts
1427
import { NgxAnimatedCounterModule } from '@bugsplat/ngx-animated-counter'
@@ -22,7 +35,7 @@ import { NgxAnimatedCounterModule } from '@bugsplat/ngx-animated-counter'
2235
})
2336
```
2437

25-
The component takes one input with three properties. The properties are the start number, the end number and the amount of time to delay in milliseconds incrementing by 1 or an optional increment value:
38+
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):
2639

2740
```ts
2841
public params: NgxAnimatedCounterParams = { start: 20, end: 220, interval: 10, increment: 20 };
@@ -34,17 +47,9 @@ Add the counter to your component's template:
3447
<ngx-animated-counter [params]="params"></ngx-animated-counter>
3548
```
3649

37-
## Compatability
38-
39-
ngx-animated-counter is built using Angular `>=6.0.0`.
40-
41-
## Credits
50+
## 🐛 About
4251

43-
ngx-animated-counter is an open source tool from [BugSplat](https://www.bugsplat.com/)! BugSplat is a crash reporting tool used by developers to find when their software crashes while in use, and to collect data valuable to fixing those crashes. If you're interested in crash reporting, check out our [Angular](https://www.bugsplat.com/docs/sdk/angular/) integration.
52+
[ngx-animated-counter](https://github.com/BugSplat-Git/ngx-animated-counter) is an open source tool from [BugSplat](https://www.bugsplat.com/)! 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](https://docs.bugsplat.com/introduction/getting-started/integrations/web/angular) integration.
4453

4554
With :heart:
46-
BugSplat
47-
48-
## License
49-
50-
MIT
55+
BugSplat

angular.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,10 @@
142142
}
143143
}
144144
},
145-
"defaultProject": "ngx-animated-counter",
146145
"cli": {
147146
"analytics": "7effc4cb-430c-4ee5-8031-84ff37987ae7",
148-
"defaultCollection": "@angular-eslint/schematics"
147+
"schematicCollections": [
148+
"@angular-eslint/schematics"
149+
]
149150
}
150151
}

0 commit comments

Comments
 (0)