bi.button_tree

一组具有相同属性的元素集合,与button_group的区别是可以处理树状结构,基类BI.ButtonGroup


BI.createWidget({
  element: "#wrapper",
  type: "bi.button_tree",
  chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI,
  layouts: [{
      type: "bi.vertical"
  }],
  items: [{
      type: "bi.label",
      text: "0",
      value: "label1",
      height:50,
      vgap:10
  }]
})

对外方法

名称 说明 回调参数

results matching ""

    No results matching ""