JSPM

  • Created
  • Published
  • Downloads 21336
  • Score
    100M100P100Q144531F
  • License MIT

Allows us to check if an element is within the browsers visual viewport

Package Exports

  • ng-in-viewport

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ng-in-viewport) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ng-in-viewport

CircleCI Status Dependency Status peerDependency Status devDependency Status

npm npm npm

Allows us to check if an element is within the browsers visual viewport

Installation

npm install --save ng-in-viewport intersection-observer

Demo

Here is example app

Simple usage example

Example at StackBlitz

License

MIT