Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

client-parallax-notifications

vivmaha3MIT0.0.5

Provides notifications for the fractional positon of an HTML element relative to the viewport.

parallax, htmlElement, rect, client, bounding, window, viewport, visible, view, notifications, callback, fractional

readme

client-parallax-notifications

Provides notifications for the fractional positon of an HTML element relative to the viewport.

Demo

Install

$ npm install --save-dev client-parallax-notifications

Usage

var htmlElement = ...;
var clientParallaxNotifications = require('client-parallax-notifications');
clientParallaxNotifications.add(
    htmlElement ,
    function(amount) {
        // do something 
    }        
);

Build

$ git clone ...
$ npm install
$ grunt serve

// Deployed to http://localhost:9001/