Permalink
Browse files

Docs: popups use reverse transition when closing and data-direction "…

…reverse" is not supported.
  • Loading branch information...
1 parent a51dcf5 commit 3941c001226d1b8261ac13634071c7f6c9759e84 @jaspermdegroot jaspermdegroot committed Jul 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 docs/api/data-attributes.html
  2. +1 −1 docs/pages/popup/index.html
@@ -327,7 +327,7 @@
</tr>
<tr>
<th>data-direction</th>
- <td>reverse - Reverse page transition animation</td>
+ <td>reverse - Reverse transition animation (only for page or dialog)</td>
</tr>
<tr>
<th>data-dom-cache</th>
@@ -289,7 +289,7 @@ <h3 class="ui-title">Are you sure you want to delete this page?</h3>
<p>The above will cause the popup to open and close with a slide transition, and to position itself centered in the window.</p>
<h2>Setting transitions</h2>
- <p>By default, popups have no transition to make them open as quickly as possible. To set the transition used for a popup, add the <code>data-transition</code> attribute to the link that references the popup. </p>
+ <p>By default, popups have no transition to make them open as quickly as possible. To set the transition used for a popup, add the <code>data-transition</code> attribute to the link that references the popup. The reverse version of the transition will be used when closing the popup.</p>
<pre><code>
&lt;a href=&quot;#transitionExample&quot; <strong>data-transition=&quot;flip&quot;</strong> data-rel=&quot;popup&quot;&gt;

0 comments on commit 3941c00

Please sign in to comment.