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.
34 lines
771 B
34 lines
771 B
7 years ago
|
# month_combo
|
||
|
|
||
7 years ago
|
## 月份选择下拉框
|
||
|
|
||
|
{% method %}
|
||
|
[source](https://jsfiddle.net/fineui/u4u04ntn/)
|
||
|
|
||
|
{% common %}
|
||
|
```javascript
|
||
|
BI.createWidget({
|
||
|
type: 'bi.month_combo',
|
||
|
element: '#wrapper',
|
||
|
width: 300
|
||
|
});
|
||
|
```
|
||
|
|
||
|
{% endmethod %}
|
||
|
|
||
|
##参数
|
||
|
|
||
|
| 参数 | 说明 | 类型 | 可选值 | 默认值
|
||
|
| :------ |:------------- | :-----| :----|:----|
|
||
7 years ago
|
| behaviors | 自定义下拉列表中item项的行为,如高亮,标红等(详见[button_group](../core/abstract/button_group.md)) | object | | {} |
|
||
7 years ago
|
|
||
7 years ago
|
|
||
7 years ago
|
|
||
7 years ago
|
##事件
|
||
|
| 事件 | 说明 |
|
||
7 years ago
|
| :------ |:------------- |
|
||
7 years ago
|
|BI.MonthCombo.EVENT_CONFIRM| 选中日期或者退出编辑状态触发 |
|
||
|
|BI.MonthCombo.EVENT_BEFORE_POPUPVIEW| 选中日期或者退出编辑状态触发 |
|
||
|
|
||
7 years ago
|
|
||
|
---
|