Skip to content

eliegkassouf/angular-long-press-directive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Elie's Angular Long Press Directive

  • ℹ️ Long Press/Continuous Press Directive for Angular.
  • #️⃣ Created for Angular 15 and above.

How to use

  • elieLongPressEvent emits <TouchEvent | MouseEvent>.
  • elieLongPressContinuousEvent does not pass any params.
<div
  elieLongPress
  [elieLongPressContinuousFiring]="false"
  (elieLongPressContinuousEvent)="elieLongPressConstantEvent()"
  (elieLongPressEvent)="elieLongPressEvent($event)">
</div>

About

Long Press/Continuous Press Directive for Angular.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published