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

feat(ngTouch): add optional ngSwipeDisableMouse attribute to ngSwipe... #7467

Merged
merged 1 commit into from
May 14, 2014

Conversation

tbosch
Copy link
Contributor

@tbosch tbosch commented May 14, 2014

... directives to ignore mouse events.

This attribute is useful for text that should still be selectable
by the mouse and not trigger the swipe action.

This also adds an optional third argument to $swipe.bind to define
the pointer types that should be listened to.

Adapted version of #6627.

Closes #6627
Fixes #6626

@mary-poppins
Copy link

Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.

  • Uses the issue template (#7467)

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

…pe` directives to ignore mouse events.

This attribute is useful for text that should still be selectable
by the mouse and not trigger the swipe action.

This also adds an optional third argument to `$swipe.bind` to define
the pointer types that should be listened to.

Closes angular#6627
Fixes angular#6626
@tbosch tbosch closed this May 14, 2014
@tbosch tbosch deleted the swipe branch May 14, 2014 23:42
@tbosch tbosch merged commit 5a568b4 into angular:master May 14, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Let $swipe ignore mouse movement
3 participants