react-motion-animate:当组件在视图中上下滚动时,对组件进行动画处理

时间:2021-05-15 05:46:29
【文件属性】:
文件名称:react-motion-animate:当组件在视图中上下滚动时,对组件进行动画处理
文件大小:5.87MB
文件格式:ZIP
更新时间:2021-05-15 05:46:29
JavaScript React运动动画 当组件在视图中上下滚动时,对组件进行动画处理 演示 安装 npm install --save react-motion-animate 用法 import React , { Component } from 'react' import { MotionAnimate } from 'react-motion-animate' class Example extends Component { render ( ) { return ( < MotionAnimate> < div> Component you want to animate < / div > < / MotionAnimate > ) } } 道具 animation : fade (默认),
【文件预览】:
react-motion-animate-master
----.eslintrc(603B)
----example.gif(5.13MB)
----yarn.lock(513KB)
----src()
--------constants()
--------.eslintrc(36B)
--------utils()
--------index.test.js(142B)
--------components()
--------index.js(3KB)
----.travis.yml(41B)
----example()
--------public()
--------src()
--------README.md(271B)
--------package.json(882B)
----.prettierrc(197B)
----README.md(3KB)
----.editorconfig(147B)
----.gitignore(281B)
----.eslintignore(47B)
----package-lock.json(903KB)
----package.json(2KB)

网友评论