Comments (5)
But isn't this out "dragging" scope? As @skidding mentioned on the website:
Dragdealer is just a drag component, the rest is up to you.
I think that you can create your own slider using dragdealer and implement the logic for infinite loop. The slider example is just to showcase dragdealer capabilities :)
from dragdealer.
Hi catalinmiron
On my opinion is a required feature of sliding/swiping/gallery plugin.
I think also that is the only things missed in the script.
thanks :)
from dragdealer.
@ltosetti the problem is that dragdealer is just a dragging library without external dependencies. @skidding created some example as inspiration (https://github.com/skidding/dragdealer/tree/master/examples) but here we're talking about an implementation detail that you'd like to include into the library. We can wait for @skidding's opinion on this one.
btw: Thanks for using this library! 👍
from dragdealer.
Thanks to you @catalinmiron
I know what you mean, infact I build some stuff for dragdealer library by my own , like a pager, dot navigation, arrow navigation ecc..
The only thing missing (and not so easy to do) is infinity slides :)
btw: consider my request like a kind of suggest, if is possible and you are interested ok, otherwise i will find a way to do that.
Thanks a lot :)
from dragdealer.
I can't think of an easy way to create an infinite slider using Dragdealer. You'd have to break your slider into pieces to achieve that, continuously repositioning each piece from one side to the other as it exits the viewport. Dragdealer doesn't cover this type of functionality but I'm sure you'll find other libraries that do.
Btw, I also published an infinite carousel thingy a while ago https://github.com/skidding/simple-carousel, but as the README suggests
You'd probably be better of with something else, unless you want to experiment.
Good luck!
from dragdealer.
Related Issues (20)
- dragStopCallback is called when clicking handle element
- set a minimum range?
- Infinite number of tiles HOT 7
- Set step to start on when initialising HOT 1
- autoplay HOT 1
- Mousewheel Functionality
- Dragdealer does not take into account scale() css3 transform when calculating handle positions
- How to disable point to scroll outside the handle? HOT 4
- Change color of the 'handle red-bar' depending on the value? HOT 1
- Handle bar still moving even when dealer is disabled. HOT 1
- preventDefault when clicking an element inside Dragdealer HOT 1
- Can you change drag speed? HOT 2
- dragdealer number of images HOT 1
- Type script Definitions HOT 1
- Unable to preventDefault inside passive event listener invocation.
- Is Dragdealer have destroy method or analog to stop calling requestAnimationFrame? HOT 3
- how to disable wrapper handle HOT 1
- css: transform scale - DragDealer jumps on entry
- Content scroller but with Horizontal movement? 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 dragdealer.