invp-ts

1.0.1 • Public • Published

INVP-TS

Check if elements are in viewport.

Install

npm i invp-ts

Init

Use w/e querySelector you want, could be #some_id or [data-something="true"] for example

import { InVp } from 'invp';

new InVp('.js-reveal');

Test

npm test

Package Sidebar

Install

npm i invp-ts

Weekly Downloads

5

Version

1.0.1

License

ISC

Unpacked Size

8.97 kB

Total Files

9

Last publish

Collaborators

  • slothwizard