UNPKG

is-in-browser-viewport

Version:

A package that checks if an element is in the browser viewport and provides a callback function when the element is in the viewport and when the element leaves the viewport

26 lines 805 B
{ "name": "is-in-browser-viewport", "version": "1.0.3", "description": "A package that checks if an element is in the browser viewport and provides a callback function when the element is in the viewport and when the element leaves the viewport", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/NigelDcruz/is-in-browser-viewport.git" }, "keywords": [ "check if an element is in the browser viewport", "Viewport", "Browser Viewport", "on scroll check if element is in viewport", "Intersection Observer API" ], "author": { "name": "Nigel Dcruz", "email": "nigeldcruz7@gmail.com", "url": "https://www.nigeldcruz.in/" }, "license": "ISC" }