fineui是帆软报表和BI产品线所使用的前端框架。
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.
|
|
|
# bi.color_chooser
|
|
|
|
|
|
|
|
### 选色控件
|
|
|
|
|
|
|
|
{% method %}
|
|
|
|
[source](https://jsfiddle.net/fineui/z4fwweg9/)
|
|
|
|
|
|
|
|
{% common %}
|
|
|
|
```javascript
|
|
|
|
|
|
|
|
BI.createWidget({
|
|
|
|
type: "bi.color_chooser",
|
|
|
|
element: "#wrapper",
|
|
|
|
width: 30,
|
|
|
|
height: 30
|
|
|
|
});
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
{% endmethod %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 方法
|
|
|
|
|
|
|
|
| 方法名 | 说明 | 参数 |
|
|
|
|
| ------------- | ------ | ----- |
|
|
|
|
| isViewVisible | 判断是否显示 | — |
|
|
|
|
| setValue | 设置颜色值 | color |
|
|
|
|
| getValue | 获取颜色值 | — |
|
|
|
|
|