Web component: j-Navigation


  • Info
  • HTML
  • JS
  • CSS
  • Meta

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

Browser‘s Save action performs Preview