zui
Version:
一个基于 Bootstrap 深度定制开源前端实践方案,帮助你快速构建现代跨屏应用。
23 lines (16 loc) • 679 B
Markdown
section: javascript
id: bootbox
description: 警告、确认和内容编辑模态框
icon: icon-question-sign
filter: motaiduihuakuang mtdhk
# 模态对话框 (Bootbox)
Bootbox用来替代系统内置对话框,并于[对话框](#javascript/modal)保持一致的外观。
Bootbox 独立组件,你需要从本地或 CDN 单独引入 lib 目录下的资源:
```html
<link href="lib/bootbox/bootbox.min.css" rel="stylesheet">
<script src="lib/bootbox/bootbox.min.js"></script>
```
具体用法请参考[官方网站](http://bootboxjs.com/#)。
<link href="dist/lib/bootbox/bootbox.min.css" rel="stylesheet">
<script src="dist/lib/bootbox/bootbox.min.js"></script>