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.
703 B
703 B
bi.Msg
消息提示
{% method %} source
{% common %}
BI.createWidget({
type: "bi.button",
element: "#wrapper",
text : '点击我弹出一个消息框',
height : 30,
handler : function() {
BI.Msg.confirm('测试消息框',"我是测试消息框的内容");
}
});
{% endmethod %}
对外方法
名称 | 说明 | 回调参数 |
---|---|---|
alert | 警告消息框 | title, message, callback |
confirm | 确认消息框 | title, message, callback |
prompt | 提示消息框 | title, message, value, callback, min_width |
toast | toast提示 | message, level, context |