소스 검색

add note for multiple treeview's

REJack 3 년 전
부모
커밋
bb332b84fa
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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}