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
<ul data-widget="treeview">
<li><a href="#">One Level</a></li>
<li class="treeview">
<a href="#">Multilevel</a>
<ul class="treeview-menu">
<li class="nav-item">
<a class="nav-link" href="#">Multilevel</a>
<ul class="nav-treeview">
<li><a href="#">Level 2</a></li>
</ul>
</li>

Loading…
Cancel
Save