Browse Source

fix sample code

pull/3686/head
zhangchenglin 4 years ago
parent
commit
36a9ef8e50
  1. 6
      docs/javascript/treeview.md

6
docs/javascript/treeview.md

@ -16,9 +16,9 @@ Add `data-widget="treeview"` to any `ul` or `ol` element to activate the plugin.
```html ```html
<ul data-widget="treeview"> <ul data-widget="treeview">
<li><a href="#">One Level</a></li> <li><a href="#">One Level</a></li>
<li class="treeview"> <li class="nav-item">
<a href="#">Multilevel</a> <a class="nav-link" href="#">Multilevel</a>
<ul class="treeview-menu"> <ul class="nav-treeview">
<li><a href="#">Level 2</a></li> <li><a href="#">Level 2</a></li>
</ul> </ul>
</li> </li>

Loading…
Cancel
Save