counterup

WebJar for counterup

Лицензия

Лицензия

Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

counterup
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

counterup
WebJar for counterup
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/NawaraGFX/Counter-Up

Скачать counterup

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/counterup/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>counterup</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/counterup/
implementation 'org.webjars.bower:counterup:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.bower/counterup/
implementation ("org.webjars.bower:counterup:1.0.0")
'org.webjars.bower:counterup:jar:1.0.0'
<dependency org="org.webjars.bower" name="counterup" rev="1.0.0">
  <artifact name="counterup" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='counterup', version='1.0.0')
)
libraryDependencies += "org.webjars.bower" % "counterup" % "1.0.0"
[org.webjars.bower/counterup "1.0.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Counter-Up

Counter-Up is a jQuery plugin that animates a number from zero (counting up towards it). It supports counting up:

  • integers 12345
  • floats 0.1234
  • formatted numbers 1,234,567.00

Features:

  • Auto-detect for integers, floats or formatted numbers
  • The plugin will also use the number of decimal places the original number is using.
  • Lightweight: ~1kb
  • Minimal setup

Requires waypoints.js

Demo

DEMO

Usage

Include

<script src="http://cdnjs.cloudflare.com/ajax/libs/waypoints/2.0.3/waypoints.min.js"></script>
<script src="jquery.counterup.min.js"></script>

HTML

<span class="counter">1,234,567.00</span>
<span>$</span><span class="counter">1.99</span>
<span class="counter">12345</span>

jQuery

$('.counter').counterUp();

or with extra parameters

$('.counter').counterUp({
    delay: 10,
    time: 1000
});

delay - The delay in milliseconds per number count up

time - The total duration of the count up animation

Social Stuff

Twitter: @bfintal & @gambitph

Google+: +Benjamin Intal

Версии библиотеки

Версия
1.0.0