client-parallax-notifications

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


Keywords
parallax, htmlElement, rect, client, bounding, window, viewport, visible, view, notifications, callback, fractional
License
MIT
Install
npm install client-parallax-notifications@0.0.2

Documentation

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/