In angular 2 can I do something like
<div (onEnter)="doSomething()">
</div>
which would trigger when the windows is near an element within a large component.
I am trying to avoid having to write a bunch of components with custom entrance animation. so I wanted to set the style to reference animate.css in the dosomething() function.