Home About
Snippet 432/by Michał Duszak
  • Preview size
    Default Moto G4 Galaxy S5 Pixel 2 Pixel 2 XL iPhone 5/SE iPhone 6/7/8 iPhone 6/7/8 Plus iPhone X iPad iPad Pro Surface Duo Galaxy Fold
  • Settings
  • Change view
    standard view icon Standard view side view icon Side view project view icon Side-tab view Full screen view icon Full screen
  • HTML
  • CSS
  • JS
<div class="treeview" id="navigationTree" data-mdb-line="true"><ul><li><a>test one</a><ul><li>test three</li></ul></li><li>test two</li></ul></div>
 
let myTreeviewEl = document.querySelector('#navigationTree');
Console errors: 0
Support