Skip to content

Sloth-Wizard/invp-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Check if elements are in viewport using rxjs. Port of in-view.js

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published