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.
23 lines
663 B
23 lines
663 B
Demo.Message = BI.inherit(BI.Widget, { |
|
props: { |
|
baseCls: "demo-bubble" |
|
}, |
|
render: function () { |
|
return { |
|
type: "bi.center_adapt", |
|
items: [ |
|
{ |
|
el: { |
|
type: "bi.button", |
|
text: "点击我弹出一个消息框", |
|
height: 30, |
|
handler: function () { |
|
BI.Msg.alert("测试消息框", "我是测试消息框的内容"); |
|
} |
|
} |
|
} |
|
] |
|
}; |
|
} |
|
}); |
|
BI.shortcut("demo.message", Demo.Message); |