Talking about how to use end in bootstrap

encountered a problem: After clicking the button in the Layer pop-up, complete a series of operations, the pop-up layer is self-turned off and a tip of the parent interface.

Simplely found out, discovered the end in

type: function, default: null

Whether it is confirmation or cancellation As long as the layer is destroyed, End will execute and do not carry any parameters.

In this way, it wrote its own needs

  layer.Open ({type: 2, // pop-ups reality style // shade: false , // does not display the background shadow, remove this attribute, display // Skin: "layui-layer-rim", // plus border closebtn: 0, // does not display close button // shadeclose: true, // open cover The hood is closed is to click elsewhere, the box disappears Title: "Discover new issues", // title: false does not display the title Area: ['800px', '300px'], // Popup layer Wide High Content: "Question.php ? QID = 1 ", // captured element end: function () {window.parent.Layer.msg ('release success');}});  

The above mentioning the way of using the END in bootstrap is the full content of Xiaobian sharing to everyone, I hope to give you a reference, I hope everyone will support Tumi Cloud.

© Copyright Notice
Just support it if you like
comment Grab the couch

Please log in to comment