forked from fanruan/fineui
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.
668 B
668 B
bi.display_tree
异步树控件
{% method %} source
{% common %}
var tree = BI.createWidget({
type: "bi.display_tree",
element: 'body',
});
tree.initTree({
id: 1,
text: '',
open: true,
});
{% endmethod %}
参数设置
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
— | — | — | — |
方法
方法名 | 说明 | 回调参数 |
---|---|---|
initTree | 加载tree结构 | node: 节点数组 settings: 配置项 |
destroy | 摧毁元素 | — |