[Javascript] bootstrap TreeView 트리구조 구현, bstreeview js
■ Javascript bootstrap TreeView 트리구조 구현, bstreeview js
■ JS 공식 사이트
Dynamic Tree List Plugin For Bootstrap - BSTreeView
A tiny (less than 2kb minified) tree view plugin that dynamically renders a collapsible/expandable tree list using Bootstrap 4 list group component.
www.jqueryscript.net
■ 압축파일
■ 파일실행 (index.html)
■ 응용
# 기존 div 클릭 시 li가 펼쳐짐 ▷ 수정 1. >버튼 클릭 시 만 li 컨트롤, 수정 2. li가 미리 다 펼쳐져 보이게 조정
# bstreeview.min.js
# php 단에서 li별 text, idx, div, icon 값 설정 (구조 예시를 위함)
// example
$row[$i]['text'] = $text;
$row[$i]['idx'] = $idx;
$row[$i]['div'] = $div;
$row[$i]['icon'] = 'fa fa-inbox';
■ fa icon list
Font Awesome Icons
Get 1535 icons right now with FA Free, plus another 7020 icons with Pro, which also gets you another 53 icon category packs as we finish them! Our all-new SVG with JavaScript gives you all the power of SVG without the usual hassle. Ligatures for easier des
fontawesome.com