Package Exports
- client-parallax-notifications
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (client-parallax-notifications) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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-notificationsUsage
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/