react-visibility-sensor

v1.6.1
Sensor component for React that notifies you when it goes in or out of the window viewport.
react react-component visibility

build-example

mkdir -p example/dist && browserify -t reactify -o example/dist/bundle.js example/main.js

build-test

browserify -t reactify -o tests/bundle.js tests/visibility-sensor-spec.jsx

publish-gh-pages

npm run build-example && ./bin/publish-gh-pages

test

npm run build-test && ./node_modules/karma/bin/karma start --single-run

Metadata

  • MIT
  • Whatever
  • joshwnj
  • released 6/16/2015

Downloads

Maintainers