0.7.0 • Published 10 years ago

generate-menu v0.7.0

Weekly downloads
3
License
ISC
Repository
github
Last release
10 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

10 years ago

0.6.0

10 years ago

0.5.5

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

1.0.0

10 years ago