You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
663 B
52 lines
663 B
4 years ago
|
# 前提知识储备
|
||
|
|
||
|
利用`bi.custom_tree`自定义树组件,是FineUI的高阶阶段,因此需要深入理解FineUI基础抽象控件的用法.
|
||
|
在学习的过程中配合源码使用更利于理解
|
||
|
|
||
|
## BI.BasicButton
|
||
|
```
|
||
|
{
|
||
|
isSelected,
|
||
|
setSelected,
|
||
|
isOnce,
|
||
|
doClick,
|
||
|
getValue,
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## BI.NodeButton
|
||
|
```
|
||
|
{
|
||
|
isSelected,
|
||
|
setSelected,
|
||
|
isOpened,
|
||
|
setOpened,
|
||
|
triggerCollapse,
|
||
|
triggerExpand,
|
||
|
doClick,
|
||
|
getValue,
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## BI.Expander
|
||
|
```
|
||
|
{
|
||
|
props:{
|
||
|
el:{},
|
||
|
popup:{
|
||
|
el:{}
|
||
|
}
|
||
|
},
|
||
|
trigger:""
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## BI.Loader
|
||
|
```
|
||
|
{
|
||
|
populate
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## Events
|
||
|
`BI.Controller.EVENT_CHANGE`
|