0.0.5 • Published 8 years ago

client-parallax-notifications v0.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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/