intersection-observer-debugger
<div align="center"> <img alt="demo" src="https://user-images.githubusercontent.com/1911623/91918354-0b2ef680-ec99-11ea-9250-e040d0f3be76.gif" width="600" /> <br/> </div>
Last updated 3 months ago by pomber .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install intersection-observer-debugger 
SYNC missed versions from official npm registry.

IntersectionObserver Debugger

demo

A script you include during development that shows the root, target and intersection every time an IntersectionObserver is triggered.

Usage

Import the script from your html:

<script src="https://unpkg.com/intersection-observer-debugger"></script>

Or, intall the dependency and import it from JS:

$ npm install intersection-observer-debugger --save-dev
// index.js
import "intersection-observer-debugger"

Make sure to import it before any code that may use the IntersectionObserver constructor.

License

MIT

Current Tags

  • 0.1.1                                ...           latest (3 months ago)

2 Versions

  • 0.1.1                                ...           3 months ago
  • 0.1.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |