模态框的使用
使用方式: 推荐
data-toggle="modal" data-target="#弹出框容器的ID"
data in-"query" data-toggle type: string default: modal description: "用来控制模态弹出框的显示" data-target type: string default: "用户自定义" description: "用来定义触发的模态框是哪一个" data-backdrop type: bool default: true description: "是否包含背景, 若取static, 则单击背景不会关闭弹出窗" data-keyboard type: bool default: true description: "键盘ESC可以关闭弹出框" data-show type: bool default: true description: "初始化时, 弹出窗是否显示" href type: string(URL路径) default: '' description: "如果通过a来触发模态弹出框, 其href值不是以#开头则表示一个url地址, 模态框会先加载其内容替换原有modal-content中的内容"
使用js来配置参数modal backdrop type: bool default: true description: "是否有背景, 若取static则单击背景不会关闭" keyboard type: bool default: true description: "按ESC关闭弹出框" show type: bool default: true description: "初始化时模态框是否显示" remote type: string (URL) default: '' description: "远程获取remote指定的URL内容来填充模态框的内容"
