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

ngTouch: In swipe directives, Event object is not available as $event #4071

Closed
@tromex

Description

@tromex

Hi there!, in the docs it says that Event object should be available as $event on swipe directives (http://docs.angularjs.org/api/ngTouch.directive:ngSwipeLeft), this is not working. It only works for ng-click. Here is an example in Plunker:

http://plnkr.co/edit/I0DvVA?p=preview

I'm trying to access $event in the swipe directive to use $event.stopPropagation() because sometimes (not always) I'm getting a click event after the swipe event. You should also see this behavior in the example... (maybe is this another bug?). Greets!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions