Browse Source

update color_chooser

master
iapyang 7 years ago
parent
commit
b1a1838b6d
  1. 39
      uidoc/case/color_chooser.md

39
uidoc/case/color_chooser.md

@ -1,2 +1,39 @@
# color_chooser # bi.color_chooser
### 选色控件
{% method %}
[source](https://jsfiddle.net/fineui/7skvd64L/)
{% common %}
```javascript
BI.createWidget({
type: "bi.vertical",
element: "#wrapper",
items: [{
type: "bi.label",
height: 30,
text: "默认风格"
}, {
type: "bi.segment",
items: [{
text: "tab1",
value: 1,
selected: true
}, {
text: "tab2",
value: 2
}, {
text: "tab3 disabled",
disabled: true,
value: 3
}]
}],
hgap: 50,
vgap: 20
});
```
{% endmethod %}
Loading…
Cancel
Save