Skip to content

v4.0.0

Choose a tag to compare

@edoparearyee edoparearyee released this 08 Oct 17:32
· 35 commits to master since this release

4.0.0 (2018-10-08)

Features

  • InViewport: add ability set offset using IntersectionObserver options (#26) (cacca75), closes #4

Performance Improvements

  • InViewport: use intersection observer to calculate inviewport state (#25) (b722d3f)

BREAKING CHANGES

  • InViewport: Removed forRoot method in module which is no longer required for AppBrowserModule. Replaced with forServer method for AppServerModule. Removed debounce feature and rxjs dependancy to leave implementation up to the consumer of the library. This reduces bundle size if debounce feature is not being used. Updated inviewport classes to sn-inviewport--in and sn-inviewport--out to match SOON styleguide