Browse Source

Merge pull request #3686 from zhangchenglin/zcl-master-3-treeview

fix treeview sample code
pull/3694/head
Daniel 4 years ago committed by GitHub
parent
commit
3f6b505886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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