Skip to content

Releases: DockYard/ember-in-viewport

viewportSpy (in fallback mode)

16 Apr 03:34
Compare
Choose a tag to compare

This release fixes an issue with the previous version – the viewportSpy option was completely broken before because it would unbind all listeners for all Components with the Mixin. This no longer happens, and viewportSpy works as expected when requestAnimationFrame is not available.

More work needs to be done to achieve the same result in rAF mode.

Changelog
  • #3 Listeners are now registered and removed based on elementId by @poteto

First release

15 Apr 20:27
Compare
Choose a tag to compare

This ember-cli addon adds a simple, highly performant Ember Mixin to your app. This mixin, when added to a View or Component (collectively referred to as Components), will allow you to check if that Component has entered the browser's viewport. By default, the Mixin uses the requestAnimationFrame API if it detects it in your user's browser – failing which, it fallsback to using the more resource heavy Ember run loop and event listeners.

This software will not be ready for production use until 1.0.0.