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.
29 lines
723 B
29 lines
723 B
7 years ago
|
# bi.NodeButton
|
||
|
|
||
|
## 表示一个可以展开的节点, 不仅有选中状态而且有展开状态, [BI.BasicButton](/core/basic_button.md)
|
||
|
|
||
|
|
||
|
## API
|
||
|
##### 基础属性
|
||
|
| 参数 | 说明 | 类型 | 可选值 | 默认值
|
||
|
| :------ |:------------- | :-----| :----|:----
|
||
|
| open | 节点是否展开 | boolean | true,false | false |
|
||
|
|
||
|
|
||
|
## 对外方法
|
||
|
| 名称 | 说明 | 回调参数
|
||
|
| :------ |:------------- | :-----
|
||
|
| doClick | 点击展开| —
|
||
|
| isOnce | 点击一次后失效 | —
|
||
|
| isOpened | 判断节点是否展开| —
|
||
|
| setOpened | 设置节点展开状态| b
|
||
|
| triggerCollapse | 节点收起 | —
|
||
|
| triggerExpand | 节点展开| —
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
---
|
||
|
|
||
7 years ago
|
|