Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 312 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 312 Bytes

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