Comments (3)
我自己修改了源码
currentPoint = opts.currentPoint || 0...
现在可以传当前point参数过来了。。
from react-swipes.
@jakeyChen1994 currentPoint是对的,忘记加这个api,我加下哈~
from react-swipes.
@jakeyChen1994 已经增加了currentPoint api用于初始化卡片位置
from react-swipes.
Related Issues (20)
- 使用rem的情况下,怎么让设置里的distance值和item的宽度一致 HOT 1
- 垂直方向的轮播 HOT 1
- 魅族和OPPO手机QQ打开无法滑动 HOT 1
- 自动播放不能循环 HOT 1
- 初始化报错 HOT 6
- document undefined
- refs 问题 HOT 2
- 卡片滑动过程想实现类似上面的缩放效果实现 HOT 2
- distance的长度怎么计算?
- transitionDuration 这个属性设置了没用
- nextjs ssr HOT 1
- 能否设置自动播放的时延?
- 请问能提供一下demo中的完整代码吗?
- Next.js报错document is not defined
- 现在有没有类似轮播图小圆点的功能,能够让我在外部点击一个index,然后滑动到对应index的功能 HOT 1
- 移动端不能使用 HOT 4
- 按照你的写法做的,报错了 HOT 2
- 可否加入自动且循环播放 HOT 2
- 初始化报错 HOT 15
- 建议加入无限循环 HOT 1
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 react-swipes.