Tree structures - Tree behavior and helper

Simple Example

Using `find(threaded)` on some demo categories.

  • Alpha
  • Beta
    • Child of 2nd one
      • Child of child
  • Gamma
  • Delta
    • Child of 4th one

Only generate 2 levels

  • Alpha
  • Beta
    • Child of 2nd one
  • Gamma
  • Delta
    • Child of 4th one

Using a callback to style

And passing in "authPath" for the helper to know the currently active element and the path to it.

  • Alpha
  • Beta
    • Child of 2nd one
      • Child of child
  • Gamma
  • Delta
    • Child of 4th one

Send your feedback or bugreport!