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.
1.2 KiB
1.2 KiB
bi.lazy_loader
懒加载
{% method %} source
{% common %}
BI.createWidget({
type: "bi.lazy_loader",
width: 100,
element: 'body',
items: items,
});
{% endmethod %}
方法
方法名 | 说明 | 参数 |
---|---|---|
addItems | 列表最后添加元素 | items |
setValue | 设置值 | data |
getVlaue | 获得值 | — |
empty | 清空 | — |
populate | 替换内容 | items |
setNotSelectedValue | 设置未选中值 | — |
getNotSelectedValue | 获取未选中植 | — |
getAllButtons | 获得所以根节点 | — |
getAllLeaves | 获得所有叶节点 | — |
getSelectedButtons | 获取选中的根节点 | — |
getNotSelectedButtons | 获取未选中的根节点 | — |
getIndexByValue | 根据值获取索引 | value |
getNodeById | 根据id获取node | id |
getNodeByValue | 根据值获取node | value |