Comments (10)
@gaoryrt ooouch, did'n merge.. sorry
from number-flip.
try branch maxLenNum
:
yarn add https://github.com/gaoryrt/number-flip.git\#maxLenNum
specific the maxLenNum
in option:
new Flip({
node: $('.app'),
from: 100,
to: 10000,
maxLenNum: 5
})
from number-flip.
maxLenNum
optional
: A number representing the number of digits, if not specified, length of digits would fits the maxLenNum of givenfrom
andto
. Otherwise, length of digits won't change (see more at this issue).
from number-flip.
@gaoryrt Hi, friend. It seems that the property maxLenNum
doesn't work. And also could not be found in doc README.md
https://codepen.io/Tylerrrkd/pen/aRXNNd
from number-flip.
@tylerrrkd it's in branch maxLenNum, instead of master.
from number-flip.
try branch
maxLenNum
:
yarn add https://github.com/gaoryrt/number-flip.git\#maxLenNum
read plz, READ
from number-flip.
@gaoryrt 5 to 8 works now, but 8 to 5 still go wrong.
from number-flip.
@gaoryrt 5 to 8 works now, but 8 to 5 still go wrong.
Define 'wrong'.
for discussion of invisible leading zeros, see #12
from number-flip.
How to download the '.min.js' of this branch like https://unpkg.com/[email protected]/dist/number-flip.min.js?
from number-flip.
@robot-l seems unpkg is unavailable to do that, but you can folk and build one for your own usage. Considering the maxLenNum branch is far behind the master branch, merge it before building is recommended.
from number-flip.
Related Issues (20)
- Numbers cannot grow from low to high HOT 1
- TypeError: Cannot read property 'classList' of undefined HOT 6
- hide the leading zeros when decreasing HOT 4
- Display error after ‘resize’ event. HOT 3
- Hello, I want to use it in the WeChat miniAPP. but it gave an error。Cannot redefine property: Flip HOT 5
- support float HOT 3
- performance not support below ios 9 HOT 1
- Could you please publish your new update 'remove log' to npmjs.com? HOT 2
- display wrong numbers when tab changes HOT 2
- I can select invisible numbers! HOT 1
- I got an error when I use `flipTo` function in a 'react' project HOT 7
- NPM package import error. HOT 5
- flipping from 9 to 10 throws HOT 3
- no destory method
- class error
- Number of digits do not increase if necessary HOT 8
- IE11 support HOT 7
- Comma seperated numbers HOT 1
- uglifyJs can not minify the bundle when using number-flip HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from number-flip.