Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
[popup docs] Document new option "dismissable"
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Oct 7, 2012
1 parent 22b486b commit b1837c7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/pages/popup/options.html
Expand Up @@ -47,6 +47,14 @@ <h2>Popup</h2>
<pre><code>$( ".selector" ).popup(<strong>{ corners: false }</strong>);</code></pre>
</dd>

<dt><code>dismissable</code> <em>boolean</em></dt>
<dd>
<p class="default">default: true</p>
<p>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: <code>data-dismissable=&quot;false&quot;</code></p>
<p><em>Note:</em> When history support is turned on, pressing the browser's "Back" button will dismiss the popup even if this option is set to false.
<pre><code>$( ".selector" ).popup(<strong>{ dismissable: false }</strong>);</code></pre>
</dd>

<dt><code>history</code> <em>boolean</em></dt>
<dd>
<p class="default">default: true</p>
Expand Down

0 comments on commit b1837c7

Please sign in to comment.