0.7.0 • Published 8 years ago

generate-menu v0.7.0

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

Generate Menu

Outputs a html menu structure to a target <ul> and sets up links to the corresponding sections within your page, which are scrolled to by scroll-to-element

NPM

MenuGenerator(selector, target)

Options
ToDo :

expose easing options

sub-menus?

Usage

import generateMenu from 'menu-generator'

// - headline is the class selector
// - target is the id of the <ul>
generateMenu('headline', 'test-target');

Develop

git clone git@github.com:DennisSmuda/generate-menu.git
cd generate-menu
npm install
npm start

License

ISC

0.7.0

8 years ago

0.6.0

8 years ago

0.5.5

8 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

1.0.0

8 years ago