@angymagic/intersectiontagelements

A util to highlight any tag into the DOM with IntersectionObserver

Usage no npm install needed!

<script type="module">
  import angymagicIntersectiontagelements from 'https://cdn.skypack.dev/@angymagic/intersectiontagelements';
</script>

README

Intersection Tag Elements

This is a package to select any tag in the DOM and highlight it when is in the screen.

(This package is for educational purposes only)

Install

npm i @angymagic/intersectiontagelements

or

yarn add @angymagic/intersectiontagelements

Usage

import intersectiontagelements from "@angymagic/intersectiontagelements";

intersectiontagelements('img')

Contact

@angelvasqueznep