Skip to content

Angular directive to add support for touch events while maintaining support for click events. Currently only mouse down/touch start and mouse up/touch end are supported.

Notifications You must be signed in to change notification settings

hendonnelly/ngTouchEvents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

ngTouchEvents

Angular directive to add support for touch events while maintaining support for click events. Currently only mouse down/touch start and mouse up/touch end are supported.

Usage

<span hd-touchdown="dosomething()" hd-touchup="dosomethingelse()" >Click or touch me!</span>

Note:

ngTouch is a prerequisite for this directive.

ngTouch - https://docs.angularjs.org/api/ngTouch

About

Angular directive to add support for touch events while maintaining support for click events. Currently only mouse down/touch start and mouse up/touch end are supported.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published