From b1837c79f7d81bf3e9bb5501a57b656917c31040 Mon Sep 17 00:00:00 2001 From: Gabriel Schulhof Date: Mon, 8 Oct 2012 00:13:38 +0300 Subject: [PATCH] [popup docs] Document new option "dismissable" --- docs/pages/popup/options.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/pages/popup/options.html b/docs/pages/popup/options.html index 4abbbfb8a1b..3186f2a6ae1 100644 --- a/docs/pages/popup/options.html +++ b/docs/pages/popup/options.html @@ -47,6 +47,14 @@

Popup

$( ".selector" ).popup({ corners: false });
+
dismissable boolean
+
+

default: true

+

Sets whether clicking outside the popup or pressing Escape while the popup is open will close the popup. This option is also exposed as a data attribute: data-dismissable="false"

+

Note: When history support is turned on, pressing the browser's "Back" button will dismiss the popup even if this option is set to false. +

$( ".selector" ).popup({ dismissable: false });
+
+
history boolean

default: true