Ver Fonte

add note for multiple treeview's

REJack há 3 anos atrás
pai
commit
bb332b84fa
1 ficheiros alterados com 8 adições e 0 exclusões
  1. 8 0
      docs/javascript/treeview.md

+ 8 - 0
docs/javascript/treeview.md

@@ -51,6 +51,14 @@ $('ul').Treeview(options)
 > ```
 {: .quote-info}
 
+> ##### IMPORTANT!
+> If you want to use a multiple treeview's beside the main-sidebar treeview, 
+> then you need to add to all treeview's a ID-tag.
+> ```html
+> <ul data-widget="treeview" id="someIdNameOrSo" data-accordion="false">...</ul>
+> ```
+{: .quote-danger}
+
 ##### Events
 {: .mt-4}