Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple swipeviews in the same document #52

Open
wants to merge 72 commits into
base: master
Choose a base branch
from

Conversation

peutetre
Copy link

Added a new demo to show the use case

Paul Panserrieu and others added 30 commits July 4, 2013 15:22
* fix desktop mouse events
+ polyfill for events (on, off, preventDefault)
+ polyfill for evt.pageX / evt.pageY
+ using MicroEvent for custom events
+ Fix examples (img unselectable=on, ondragstart: return false)
+ indexOf polyfill
+ on/off polyfill only support functions
+ handleEvent: it was hard to handle the
handleEvent for IE case, because we needed to create a new function
which is not referenced anywhere and can't be unbound when doing a off().
Making it work on IE8 !
Add origin information in onFlip callback
- the SwipeView instanciation does not auto-bind anymore
- Add bind() and unbind()
- the old unbind() has been renamed to offAll()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants