Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Please document the second parameter of ngTouch $swipe event handlers. #11983

Closed
ivanreese opened this issue May 29, 2015 · 1 comment
Closed

Comments

@ivanreese
Copy link

Currently, the docs say

The four events are start, move, end, and cancel. start, move, and end receive as a parameter a coordinates object of the form { x: 150, y: 310 }.

They do not mention that there is a (helpful!) second parameter: the raw event object.

@Narretz Narretz added this to the Backlog milestone Jun 6, 2015
alfonso-presa pushed a commit to alfonso-presa/angular.js that referenced this issue Jun 17, 2015
Document that the event handlers provided by $swipe do receive the raw
event as their last parameter.

Closes angular#11983
alfonso-presa added a commit to alfonso-presa/angular.js that referenced this issue Jun 17, 2015
Document that the event handlers provided by $swipe do receive the raw
event as their last parameter.

Closes angular#11983
@ivanreese
Copy link
Author

Thanks!

netman92 pushed a commit to netman92/angular.js that referenced this issue Aug 8, 2015
Document that the event handlers provided by $swipe do receive the raw
event as their last parameter.

Closes angular#11983

Closes angular#12149
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants