A web component for checking if an element is in view using Intersection Observer
UNLICENSE License
A web component for checking if an element is in view using Intersection Observer by wrapping a HTML template tag.
npm install --save @zicklepop/in-view
To work it only requires a template element around whatever you want to render when in view.
<in-view>
<template>I show up when I'm in view!</template>
</in-view>