BugSpla
为繁忙的开发者构建了崩溃和错误报告 .
导 言
BugSplate 的标签 @ bugsplat/ngx-活化-counter 软件包提供简单的倒数上下数动画。 看一看我们 实例 这证明了我们的动画计数器.
* 安装
npm i -s @bugsplat/ngx-animated-counter
使用量
添加数据 NgxAnimatedCounterModule 到您的模块的导入 :
import { NgxAnimatedCounterModule } from '@bugsplat/ngx-animated-counter'
@NgModule({
...
imports: [
NgxAnimatedCounterModule
],
...
})
这个 ngx-animated-counter 组件需要一个输入属性 start (数字是动画), end (数字结束动画), interval (增量之间以毫秒计),以及 increment (每个间隔递增的次数):
public params: NgxAnimatedCounterParams = { start: 20, end: 220, interval: 10, increment: 20 };
在组件模板中添加计数器 :
<ngx-animated-counter [params]="params"></ngx-animated-counter>
关于
纳克思活化计数器 是一个开源工具,来自 BugSpla! BugSplat 是开发者在使用时用于查找其软件崩溃时的崩溃和错误报告工具,并用于收集修复这些错误的宝贵数据。 如果你对错误报告感兴趣, 请检查我们 角质 一体化.
与:心脏:
BugSpla
