Skip to content

ambrosiustopor/dummymenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dummymenu

Utility to quickly create a dummy navigation menu for e.g. prototyping. Heavily inspired by dummytext.

Basic Usage

Include the utility:

<script src="dummymenu.js"></script>

Insert an element with the data-dummymenu attribute in your HTML:

<nav data-dummymenu="x20-l2-d4"></nav>

Configuration

You can use the data-dummymenu attribute to configure the outcome of the transformation.

Parameters start with a character followed by a number and are separated by a dash ('-').

  • repeat: x (default: 10) Define how many items should be created.

  • depth: d (default: 1) Specifies the depth of the menu.

  • link: l Set link style.

Build

Run the Grunt default task to test and build the project.

License

Licensed under the MIT license.

About

Utility to quickly create a dummy navigation menu for e.g. prototyping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published