clevermenuspy
IntersectionObserver MenuSpy
Last updated 2 months ago by tristantbg .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install clevermenuspy 
SYNC missed versions from official npm registry.

MenuSpy - Vanilla javascript Intersection Observer menu active class setter

window.onload = function () {

    const MenuSpy = new MenuSpy('header', {activeClass: 'active', linkClass: 'section-link'});
};

Install

$ npm install clevermenuspy --save

Current Tags

  • 1.0.6                                ...           latest (2 months ago)

7 Versions

  • 1.0.6                                ...           2 months ago
  • 1.0.5                                ...           2 months ago
  • 1.0.4                                ...           2 months ago
  • 1.0.3                                ...           2 months ago
  • 1.0.2                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |