DEV Community

liron_hazan
liron_hazan

Posted on

Micro-interactions in Angular

Alt ng-micro-interact

Hey Everyone, this is actually my first post in dev.to :)

I want to share with you a tiny library I wrote for easily adding micro-interactions into your Angular app.

HIT THE DEMO

My lib is based on Web Animations ( experimental API ) which is one of the most performant ways of making animations for the web.

To use ng-micro-interact in your Angular project do the following:

  1. Install: npm i ng-micro-interact

  2. Import NgMicroInteractModule into your consumer module.

  3. Use the ngMicroInteract directive on any element you want to interact with.

Thanks for reading this post!
I will really appreciate if you'll star the repo.

Discussion (0)