bootbox.js基于Bootstrap的弹框插件,需要jQuery和Bootstrap的支持
1、bootbox.dialog()
对话框
2、bootbox.alert()
提示框
3、bootbox.confirm()
确认框
4、bootbox.prompt()
输入提示框
inputType
输入框的类型,text (default), textarea, email, select, checkbox, date, time, number, and password
5、backdrop: true
点击背景弹框可以消失
size
弹框的大小,'large' and 'small',默认为null
6、bootbox.init()
bootbox对象初始化
7、bootbox.setDefaults()
全局函数
8、bootbox.hideAll()
1、bootbox.dialog()
对话框
2、bootbox.alert()
提示框
3、bootbox.confirm()
确认框
4、bootbox.prompt()
输入提示框
inputType
输入框的类型,text (default), textarea, email, select, checkbox, date, time, number, and password
5、backdrop: true
点击背景弹框可以消失
size
弹框的大小,'large' and 'small',默认为null
6、bootbox.init()
bootbox对象初始化
7、bootbox.setDefaults()
全局函数
8、bootbox.hideAll()
隐藏所有dialog
让我们一起遨游在代码的海洋里!