animated-number-react:使用 React 为数字设置动画的超级简单方法

时间:2021-08-05 00:22:08
【文件属性】:
文件名称:animated-number-react:使用 React 为数字设置动画的超级简单方法
文件大小:117KB
文件格式:ZIP
更新时间:2021-08-05 00:22:08
react animation react-library react-animations react-number-input 动画数字React 一个简单的 React 动画数字,使用。 现场演示 用法 $ npm install animated-number-react # OR $ yarn add animated-number-react import AnimatedNumber from "animated-number-react" ; export default class App extends Component { state = { value : 150 , } ; handleChange = ( { target : { value } } ) => { this . setState ( { value } ) ; } ; formatValue = ( value ) => value . toFixed ( 2 ) ; rend
【文件预览】:
animated-number-react-master
----.gitignore(301B)
----.eslintrc(233B)
----package.json(3KB)
----src()
--------demo()
--------lib()
----.travis.yml(77B)
----CODE_OF_CONDUCT.md(3KB)
----LICENSE(1KB)
----public()
--------index.html(2KB)
--------favicon.ico(3KB)
--------manifest.json(317B)
----scripts()
--------build.js(4KB)
--------test.js(734B)
--------demo.js(4KB)
--------start.js(3KB)
----README.md(4KB)
----config()
--------webpack.config.demo.js(12KB)
--------setupTests.js(160B)
--------polyfills.js(856B)
--------jest()
--------webpack.config.dev.js(12KB)
--------webpackDevServer.config.js(5KB)
--------webpack.config.prod.js(12KB)
--------paths.js(2KB)
--------env.js(3KB)
----.npmignore(287B)
----.editorconfig(232B)
----yarn.lock(257KB)

网友评论