Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
component.css
component.js
component.json
dependencies.html
example.html
picture.jpg
readme.md

readme.md

j-Navigation

  • a simple navigation component like Tree
  • easy for customization

Configuration:

Example: data-jc-config="exec:LINK_TO_FUNCTION"

  • exec {String} a link to the function

Data-source:

[
	{
		name: 'Text to navigation item',
		title: 'Optional, a title attribute'
		collapsed: true, // only for children, default "false"
		children: [
			// Can contain same structure as the parent
		]
	}
]

Good to know:

  • only items without children are clickable
  • exec returns an entire object

### Author