Use IntersectionObserver
through an Ember Modifier
- Ember.js v3.12 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
ember install ember-intersection-observer-modifier
This addon provides an Ember modifier for attaching a IntersectionObserver
to an element in your Ember template and calling an action when the observer fires.
Additional configuration options can also be passed as either an additional positional parameter, or as named parameters. You can read more about valid configuration options here.
Note: the above ref
modifier comes from ember-ref-modifier
See the Contributing guide for details.
This project is licensed under the MIT License.