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 #6627

Closed

Conversation

robinboehm
Copy link
Contributor

Request Type: feature

How to reproduce:

Component(s): ngTouch

Impact: small

Complexity: small

This issue is related to:

Detailed Description:

Other Comments:

add optional ngSwipeDisableMouse attribute to ngSwipe directives to ignore mouse events
This is a proposal for #6626 opened by @Nesquick

Let's discuss this.
If it's okay - we should also extend the docs.

@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 (#6627)

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!

@btford btford added this to the Backlog milestone Mar 26, 2014
@justechn
Copy link

was this ever added to angular? I need this really bad. I am about to yank ngtouch out of my project because I cannot disable the mouse drag.

@robinboehm
Copy link
Contributor Author

Hey @matsko and @tbosch
You were linked in #6626 for this issue.
Are you the correct assignees? :)
Could we move this in a milestone planing for a 1.3.x or something? :)

@robinboehm
Copy link
Contributor Author

@ryanmc2033 I hope this will be answered soon! :))

tbosch pushed a commit to tbosch/angular.js that referenced this pull request May 14, 2014
…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 pushed a commit to tbosch/angular.js that referenced this pull request May 14, 2014
…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 pushed a commit to tbosch/angular.js that referenced this pull request May 14, 2014
…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 in #7467 May 14, 2014
@tbosch
Copy link
Contributor

tbosch commented May 14, 2014

Hi,
just merged your PR with some modifications into master.

@robinboehm
Copy link
Contributor Author

👍 thx @tbosch

@robinboehm robinboehm deleted the optionalMouseEventForSwipe branch May 15, 2014 08:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants