布尔 edited this page Aug 8, 2017 · 2 revisions

bModal.msg({content:'欢迎使用bool Modal!'}); bModal.msg({content:'欢迎!',shake:true}); bModal.msg({content:'欢迎使用bool Modal!',sound:'sounds/win8.wav'});

bModal.alert({title:'提示',content:'操作成功',icon:1}); bModal.alert({title:'提示',content:'操作成功',icon:2,shake:true}); bModal.alert({title:'提示',content:'操作成功',icon:3,sound:'sounds/xp.wav'});

bModal.confirm({title:'提示',content:'操作成功',icon:4,sound:'sounds/xp.wav'},function(res){ console.log(res); if( res ){ bModal.msg({content:'你点击了确认'}); }else{ bModal.msg({content:'你点击了取消'}); }

});

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.