UNPKG

svelte-intersection-observer

Version:

Detect if an element is in the viewport using the Intersection Observer API

39 lines 997 B
{ "name": "svelte-intersection-observer", "version": "1.0.0", "license": "MIT", "description": "Detect if an element is in the viewport using the Intersection Observer API", "author": "Eric Liu (https://github.com/metonym)", "type": "module", "svelte": "./index.js", "main": "./index.js", "types": "./index.d.ts", "exports": { ".": { "types": "./index.d.ts", "svelte": "./index.js" }, "./*.svelte": { "types": "./*.svelte.d.ts", "import": "./*.svelte" }, "./*": { "types": "./*.d.ts", "import": "./*.js" } }, "repository": { "type": "git", "url": "https://github.com/metonym/svelte-intersection-observer.git" }, "homepage": "https://github.com/metonym/svelte-intersection-observer", "bugs": "https://github.com/metonym/svelte-intersection-observer/issues", "keywords": [ "svelte", "svelte component", "intersection observer", "viewport", "lazy-loading", "conditional" ] }