JSPM

client-parallax-notifications

0.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q35723F
  • License MIT

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

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-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/