Giter Club home page Giter Club logo

Comments (10)

tylerrrkd avatar tylerrrkd commented on August 24, 2024 1

@gaoryrt ooouch, did'n merge.. sorry

from number-flip.

gaoryrt avatar gaoryrt commented on August 24, 2024

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.

gaoryrt avatar gaoryrt commented on August 24, 2024

maxLenNum optional: A number representing the number of digits, if not specified, length of digits would fits the maxLenNum of given from and to. Otherwise, length of digits won't change (see more at this issue).

from number-flip.

tylerrrkd avatar tylerrrkd commented on August 24, 2024

@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.

gaoryrt avatar gaoryrt commented on August 24, 2024

@tylerrrkd it's in branch maxLenNum, instead of master.

from number-flip.

gaoryrt avatar gaoryrt commented on August 24, 2024

try branch maxLenNum:
yarn add https://github.com/gaoryrt/number-flip.git\#maxLenNum

read plz, READ

image

from number-flip.

seajean avatar seajean commented on August 24, 2024

@gaoryrt 5 to 8 works now, but 8 to 5 still go wrong.

from number-flip.

gaoryrt avatar gaoryrt commented on August 24, 2024

@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.

luo-zhan avatar luo-zhan commented on August 24, 2024

How to download the '.min.js' of this branch like https://unpkg.com/[email protected]/dist/number-flip.min.js?

from number-flip.

gaoryrt avatar gaoryrt commented on August 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.