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.
31 lines
625 B
31 lines
625 B
/** |
|
* Created by Dailer on 2017/7/11. |
|
*/ |
|
Demo.Date = BI.inherit(BI.Widget, { |
|
props: { |
|
baseCls: "demo-date" |
|
}, |
|
|
|
_init: function () { |
|
Demo.Date.superclass._init.apply(this, arguments); |
|
}, |
|
|
|
render: function () { |
|
|
|
return { |
|
type: "bi.horizontal_auto", |
|
vgap: 10, |
|
items: [{ |
|
type: "bi.date_combo", |
|
width: 300 |
|
}, { |
|
type: "bi.button", |
|
text: "aiyaya", |
|
height: 50, |
|
width: 300 |
|
}] |
|
} |
|
} |
|
}) |
|
|
|
BI.shortcut("demo.date", Demo.Date); |