单击背景时禁用关闭弹出窗口 [英] disable closing popup when clicking on background
本文介绍了单击背景时禁用关闭弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将lightlight.js用于灯箱.当它打开并单击它的背景时,它会弹出cloeses.我需要禁用此功能.我注意到该js中具有closeTrigger选项,但不知道如何使用它.
I use featherlight.js for lightbox. When it is opened and I click on it's background it cloeses popup. I need to disable this functionality. I noticed that this js has closeTrigger option in it but don't know how to use it.
推荐答案
其中有一个默认选项:
closeOnClick: false /* Close lightbox on click ('background', 'anywhere', or false) */
选择"FALSE"值将禁用在单击背景时关闭弹出窗口.
Select "FALSE" value this will disable the closing of popup on clicking on background.
这篇关于单击背景时禁用关闭弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文