updated docs to describe the maxTransitionWidth option.

This commit is contained in:
scottjehl 2012-01-05 18:15:17 +07:00
parent 69558f2cbd
commit b019e01201

View file

@ -59,7 +59,7 @@
<p>Set the <code>defaultPageTransition</code> <a href="../api/globalconfig.html">global option</a> if you'd prefer a different default transition. Dialogs have a different option called <code>defaultDialogTransition</code> that can also set configured.</p>
<p>By default, transitions are disabled when the window width is greater than 1000px. This value is configurable via the global option <code>$.mobile.maxTransitionWidth</code>, which defaults to <code>1000</code>. The option accepts any number or <code>false</code> value. If it's not <code>false</code>, the handler will use a "none" transition when the window width is wider than the specified value. This is useful because transitions get very wonky on wider screens.</p>
<h2>Creating custom CSS-based transitions</h2>