invp-ts
v1.0.1
Published
Check if elements come in viewport using rxjs. Inspired by in-view.js
Downloads
2
Maintainers
Readme
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