bluegg-nav
v0.0.4
Published
JS enabled responsive nav
Downloads
16
Readme
Bluegg Module Boilerplate
Basic JS enabled navigation for responsive goodness. Supports multiple instances. See a demo
- Install
npm install bluegg-nav
- Import and run module
var Nav = require('bluegg-nav');
//either use defaults
var defaultNav = new Nav();
var optionsNav = new Nav({
nav: '.js-nav', // should be unique
trigger: '.js-nav-trigger', // should be unique
openClass: 'is-open',
bodyClass: 'js-mobile-nav-open'
});
- 🍸