Checking visibility of element 60FPS
ember install ember-check-viewport
<div {{check-viewport onEnterViewport=(action 'viewportEntered') onExitViewport=(action 'viewportExited') enabled=true}}> ...content </div>
check-viewport mofifier will fire action onEnterViewport if at least part of element is in window. So it is not necessarily visible (because it can be hidden behind another element). But when onExitViewport fires then you can be sure it is not visible. So it can be used for performance purposes.
See the Contributing guide for details.
git clone <repository-url>
cd ember-check-viewport
npm install
This project is licensed under the MIT License.