layer.open 关闭回调

简介: layer.open 关闭回调
layer.open({
    type : 1,
    title : "添加页面",
    area : [ '680px', '630px' ],
    offset : '20px',
    content : $("#dev_detail"),
    cancel : function() {
      // 右上角 X 回调
      setTimeout('window.location.reload()', 1);
    },
    end: function() { // close 关闭回调
      setTimeout('window.location.reload()', 1);
    }
})
相关文章
|
6月前
layer.msg回调函数
layer.msg回调函数
|
7月前
Layui 内置方法 - layer.close(关闭特定层)
Layui 内置方法 - layer.close(关闭特定层)
113 0
|
6月前
layer.open的常用参数例子
layer.open的常用参数例子
|
6月前
layer关闭子窗口
layer关闭子窗口
|
11月前
|
算法 Android开发 计算机视觉
camera多次调用出现错误或无法回调PictureCallback接口onPictureTaken()函数的解决方法
camera多次调用出现错误或无法回调PictureCallback接口onPictureTaken()函数的解决方法
|
12月前
Layer 开启与关闭加载层
Layer 开启与关闭加载层
46 0
window.open()的一些操作属性
_media : url所指向的页面加载到Media Bar所包含的HTML代码区域中.如果没有Media Bar则加到本身.
|
JavaScript
【layui小技巧】layer使用layer.msg方法时如何让用户点击遮罩层就关闭消息框?layer.msg点击消失
【layui小技巧】layer使用layer.msg方法时如何让用户点击遮罩层就关闭消息框?layer.msg点击消失
717 0
|
物联网 Linux 开发者
open_close 函数|学习笔记
快速学习 open_close 函数
107 0
window.open常用参数具体意义
window.open常用参数具体意义