Skip to content

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