Left Menu
[ File Path: super/left_menu.html ]
Explanation of implementation method
- The menu in the Demo's Web page is to use zTree to achieve, is to use css set interface, use the configuration 'setting' to achieve features, this demo achieve a simple example of the left menu, you can view the source code of Demo's Web Page for in-depth study.
- 1. According to your needs to modify the css, for example: the menu style on this Demo and Demo's Web page not the same.
- 2. Main configuration:
setting.view.showIcon / showLine / selectedMulti / dblClickExpand
setting.callback.onNodeCreated / beforeClick / onClick
- 3. If need to keep single path, please refer to the source code of "Keep Single Path" Demo.
- 4. Other auxiliary rules, please write code based on your needs.