{"id":6,"date":"2023-08-25T17:34:36","date_gmt":"2023-08-25T17:34:36","guid":{"rendered":"\/\/api.jquerymobile.com\/1.4\/?page_id=6"},"modified":"2023-08-25T17:34:36","modified_gmt":"2023-08-25T17:34:36","slug":"global-config","status":"publish","type":"page","link":"https:\/\/api.jquerymobile.com\/1.4\/global-config\/","title":{"rendered":"Configuring Defaults"},"content":{"rendered":"<h2>Working with jQuery Mobile&apos;s Auto-initialization<\/h2>\n\t\t\t<p>Unlike other jQuery projects, such as jQuery and jQuery UI, jQuery Mobile automatically applies many markup enhancements as soon as it loads (long before the <code>document.ready<\/code> event fires). These enhancements are applied based on jQuery Mobile&apos;s default settings, which are designed to work with common scenarios. If changes to the settings are needed, they are easy to configure.<\/p>\n\n\t\t\t<h3>The mobileinit event<\/h3>\n\t\t\t<p>When jQuery Mobile starts, it triggers a <code>mobileinit<\/code> event on the <code>document<\/code> object. To override default settings, bind to <code>mobileinit<\/code>.<\/p>\n\n\t\t\t<div class=\"syntaxhighlighter javascript\">\n\t<table>\n\t\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\n\t\t\t\t<td class=\"gutter\">\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n1\">1<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n2\">2<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n3\">3<\/div>\n\t\t\t\t\t\n\t\t\t\t<\/td>\n\t\t\t\t\n\t\t\t\t<td class=\"code\">\n\t\t\t\t\t<pre><div class=\"container\"><div class=\"line\"><code>$( <span class=\"hljs-built_in\">document<\/span> ).on( <span class=\"hljs-string\">&quot;mobileinit&quot;<\/span>, <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span>(<span class=\"hljs-params\"><\/span>) <\/span>{<\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code>  <span class=\"hljs-comment\">\/\/apply overrides here<\/span><\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code>});<\/code><\/div><\/div><\/pre>\n\t\t\t\t<\/td>\n\t\t\t<\/tr>\n\t\t<\/tbody>\n\t<\/table>\n<\/div>\n\n\n\t\t\t<p>Because the <code>mobileinit<\/code> event is triggered immediately, you&apos;ll need to bind your event handler before jQuery Mobile is loaded. Link to your JavaScript files in the following order:<\/p>\n\n\t\t\t<div class=\"syntaxhighlighter xml\">\n\t<table>\n\t\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\n\t\t\t\t<td class=\"gutter\">\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n1\">1<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n2\">2<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n3\">3<\/div>\n\t\t\t\t\t\n\t\t\t\t<\/td>\n\t\t\t\t\n\t\t\t\t<td class=\"code\">\n\t\t\t\t\t<pre><div class=\"container\"><div class=\"line\"><code><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">script<\/span> <span class=\"hljs-attr\">src<\/span>=<span class=\"hljs-string\">&quot;jquery.js&quot;<\/span>&gt;<\/span><span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">script<\/span>&gt;<\/span><\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">script<\/span> <span class=\"hljs-attr\">src<\/span>=<span class=\"hljs-string\">&quot;custom-scripting.js&quot;<\/span>&gt;<\/span><span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">script<\/span>&gt;<\/span><\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">script<\/span> <span class=\"hljs-attr\">src<\/span>=<span class=\"hljs-string\">&quot;jquery-mobile.js&quot;<\/span>&gt;<\/span><span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">script<\/span>&gt;<\/span><\/code><\/div><\/div><\/pre>\n\t\t\t\t<\/td>\n\t\t\t<\/tr>\n\t\t<\/tbody>\n\t<\/table>\n<\/div>\n\n\n\t\t\t<p>You can override default settings by extending the <code>$.mobile<\/code> object using jQuery&apos;s <code>$.extend<\/code> method.<\/p>\n\n\t\t\t<div class=\"syntaxhighlighter javascript\">\n\t<table>\n\t\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\n\t\t\t\t<td class=\"gutter\">\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n1\">1<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n2\">2<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n3\">3<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n4\">4<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n5\">5<\/div>\n\t\t\t\t\t\n\t\t\t\t<\/td>\n\t\t\t\t\n\t\t\t\t<td class=\"code\">\n\t\t\t\t\t<pre><div class=\"container\"><div class=\"line\"><code>$( <span class=\"hljs-built_in\">document<\/span> ).on( <span class=\"hljs-string\">&quot;mobileinit&quot;<\/span>, <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span>(<span class=\"hljs-params\"><\/span>) <\/span>{<\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code>  $.extend( $.mobile , {<\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code>    <span class=\"hljs-attr\">foo<\/span>: bar<\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code>  });<\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code>});<\/code><\/div><\/div><\/pre>\n\t\t\t\t<\/td>\n\t\t\t<\/tr>\n\t\t<\/tbody>\n\t<\/table>\n<\/div>\n\n\n\t\t\t<p>Alternatively, you can set them using object property notation.<\/p>\n\t\t\t<div class=\"syntaxhighlighter javascript\">\n\t<table>\n\t\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\n\t\t\t\t<td class=\"gutter\">\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n1\">1<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n2\">2<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n3\">3<\/div>\n\t\t\t\t\t\n\t\t\t\t<\/td>\n\t\t\t\t\n\t\t\t\t<td class=\"code\">\n\t\t\t\t\t<pre><div class=\"container\"><div class=\"line\"><code>$( <span class=\"hljs-built_in\">document<\/span> ).on( <span class=\"hljs-string\">&quot;mobileinit&quot;<\/span>, <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span>(<span class=\"hljs-params\"><\/span>) <\/span>{<\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code>  $.mobile.foo = bar;<\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code>});<\/code><\/div><\/div><\/pre>\n\t\t\t\t<\/td>\n\t\t\t<\/tr>\n\t\t<\/tbody>\n\t<\/table>\n<\/div>\n\n\n\t\t<!--<p>To explore the effects of global configuration options, see the <a href=\"..\/config\/index.html\">config test pages<\/a>.<\/p>-->\n\n\t\t<h2>Configurable options<\/h2>\n\t\t<p>The following defaults are configurable via the <code>$.mobile<\/code> object:<\/p>\n\n<dl>\n\t<dt id=\"activeBtnClass\"><code>activeBtnClass<\/code> <em>string<\/em>, default: &quot;ui-btn-active&quot;<\/dt>\n\t<dd>The CSS class used for &quot;active&quot; button state.<div class=\"warning\"><strong>Deprecated<\/strong> in 1.4 and will be removed in 1.5. The class &quot;ui-btn-active&quot; will continue to be applied to elements as before.<\/div><\/dd>\n\t<br>\n\t<dt id=\"activePageClass\"><code>activePageClass<\/code> <em>string<\/em>, default: &quot;ui-page-active&quot;<\/dt>\n\t<dd>The CSS class used for the page currently in view or in a transition.<div class=\"warning\"><strong>Deprecated<\/strong> in 1.4 and will be removed in 1.5. The class &quot;ui-page-active&quot; will continue to be applied to elements as before.<\/div><\/dd>\n\t<br>\n\t<dt id=\"ajaxEnabled\"><code>ajaxEnabled<\/code> <em>boolean<\/em>, default: true<\/dt>\n\t<dd>jQuery Mobile will automatically handle link clicks and form submissions through Ajax, when possible. If false, URL hash listening will be disabled as well, and URLs will load as ordinary HTTP requests.<\/dd>\n\t<br>\n\t<dt id=\"allowCrossDomainPages\"><code>allowCrossDomainPages<\/code> <em>boolean<\/em>, default: false<\/dt>\n\t<dd>When jQuery Mobile attempts to load an external page, the request runs through <code>$.mobile.loadPage()<\/code>. This will only allow cross-domain requests if <code>$.mobile.allowCrossDomainPages<\/code> is set to true. Because the jQuery Mobile framework tracks what page is being viewed within the browser&apos;s location hash, it is possible for a cross-site scripting (XSS) attack to occur if the XSS code in question can manipulate the hash and set it to a cross-domain URL of its choice. This is the main reason that the default setting for $.mobile.allowCrossDomainPages is set to false. In PhoneGap apps that must &quot;phone home&quot; by loading assets off a remote server, both the <code>$.support.cors<\/code> AND <code>$.mobile.allowCrossDomainPages<\/code> must be set to true.<\/dd>\n\t<br>\n\t<dt id=\"autoInitializePage\"><code>autoInitializePage<\/code> <em>boolean<\/em>, default: true<\/dt>\n\t<dd>When the DOM is ready, the framework should automatically call <code>$.mobile.initializePage<\/code>. If false, the page will not initialize and will be visually hidden until <code>$.mobile.initializePage<\/code> is manually called.<\/dd>\n\t<br>\n\t<dt id=\"buttonMarkup.hoverDelay\"><code>buttonMarkup.hoverDelay<\/code> <em>integer<\/em>, default: 200<\/dt>\n\t<dd>Set the delay for touch devices to add the hover and down classes on touch interactions for buttons throughout the framework. Reducing the delay here results in a more responsive feeling ui, but will often result in the downstate being applied during page scrolling.\n\t<div class=\"warning\"><strong>Deprecated<\/strong> in 1.4 - use <code>$.mobile.hoverDelay<\/code> instead.<\/div><\/dd>\n\t<br>\n\t<dt id=\"defaultDialogTransition\"><code>defaultDialogTransition<\/code> <em>string<\/em>, default: &apos;pop&apos;<\/dt>\n\t<dd>Set the default transition for dialog changes that use Ajax. Set to &apos;none&apos; for no transitions.\n\t<div class=\"warning\"><strong>Deprecated<\/strong> in 1.4.<\/div>\n\t\t<p>When using pages styled as dialogs (<code>data-role=&quot;page&quot; data-dialog=&quot;true&quot;<\/code>), if you wish for them to have a different transition than regular pages, you must specify the transition on the link that opens them by adding the attribute <code>data-transition=&quot;pop&quot;<\/code> to the link. &quot;pop&quot; is just an example. You may specify any transition you wish, such as &quot;slide&quot;, &quot;flip&quot;, or &quot;none&quot;.<\/p>\n\t\t<p>Similarly, when calling the <a href=\"\/1.4\/pagecontainer\/\">pagecontainer<\/a>&apos;s <code>change()<\/code> method, you must also specify the transition explicitly, if you wish it to be different from the <code>$.mobile.defaultPageTransition<\/code>:\n\t\t<div class=\"syntaxhighlighter javascript\">\n\t<table>\n\t\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\n\t\t\t\t<td class=\"gutter\">\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n1\">1<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n2\">2<\/div>\n\t\t\t\t\t\n\t\t\t\t<\/td>\n\t\t\t\t\n\t\t\t\t<td class=\"code\">\n\t\t\t\t\t<pre><div class=\"container\"><div class=\"line\"><code>$( <span class=\"hljs-string\">&quot;:mobile-pagecontainer&quot;<\/span> )<\/code><\/div><\/div><div class=\"container\"><div class=\"line\"><code>  .pagecontainer( <span class=\"hljs-string\">&quot;change&quot;<\/span>, <span class=\"hljs-string\">&quot;dialog.html&quot;<\/span>, { <span class=\"hljs-attr\">transition<\/span>: <span class=\"hljs-string\">&quot;pop&quot;<\/span> } );<\/code><\/div><\/div><\/pre>\n\t\t\t\t<\/td>\n\t\t\t<\/tr>\n\t\t<\/tbody>\n\t<\/table>\n<\/div>\n\n\t\t<\/p>\n\t<\/dd>\n$.mobile.defaultDialogTransition is deprecated.\n\t<br>\n\t<dt id=\"defaultPageTransition\"><code>defaultPageTransition<\/code> <em>string<\/em>, default: &apos;fade&apos;<\/dt>\n\t<dd>Set the default transition for page changes that use Ajax. Note: default changed from &apos;slide&apos; to &apos;fade&apos; in 1.1. Set to &apos;none&apos; for no transitions.<\/dd>\n\t<br>\n\t<dt id=\"degradeInputs\"><code>degradeInputs<\/code> <em>object<\/em><\/dt>\n\t<dd>This setting influences the default behaviour of the function <a href=\"\/1.4\/jQuery.mobile.degradeInputsWithin\/\">$.mobile.degradeInputsWithin()<\/a>. It specifies how inputs are to be degraded. Each property is the name of an input type, and the property&apos;s value is either <code>false<\/code>, meaning to leave inputs of the given type untouched, or a string giving an alternative input type into which elements of the given input type should be converted. By default, only <code>input<\/code> elements of type <code>&quot;range&quot;<\/code> and of type <code>&quot;search&quot;<\/code> are degraded:\n \t\t<dl>\n\t\t\t<dt><code>&quot;color&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;color&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;date&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;date&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;datetime&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;datetime&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;datetime-local&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;datetime-local&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;email&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;email&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;month&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;month&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;number&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;number&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;range&quot;<\/code>, default: <code>&quot;number&quot;<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;range&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;search&quot;<\/code>, default: <code>&quot;text&quot;<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;search&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;tel&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;tel&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;time&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;time&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;url&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;url&quot;<\/code>.<\/dd>\n\t\t\t<dt><code>&quot;week&quot;<\/code>, default: <code>false<\/code><\/dt>\n\t\t\t<dd>The input type to which to convert <code>input<\/code> elements of type <code>&quot;week&quot;<\/code>.<\/dd>\n\t\t<\/dl>\n\t<\/dd>\n\t<br>\n\t<dt id=\"dynamicBaseEnabled\"><code>dynamicBaseEnabled<\/code> <em>boolean<\/em>, default: true<\/dt>\n\t<dd>When this property is set to <code>false<\/code> the base tag value in browsers that support a dynamic base tag and URL prefixes in browsers that don&apos;t <em>won&apos;t<\/em> be updated to reflect where the page was loaded from. This means that resource references that are relative to the page on which they are defined may break. This option is available for web frameworks that operate under a universal base tag value where all links and assets are relative to a single base.<\/dd>\n\t<br>\n\t<dt id=\"focusClass\"><code>focusClass<\/code> <em>string<\/em>, default: &quot;ui-focus&quot;<\/dt>\n\t<dd>The CSS class used for &quot;active&quot; button state.<div class=\"warning\"><strong>Deprecated<\/strong> in 1.4 and will be removed in 1.5. The class &quot;ui-focus&quot; will continue to be applied to elements as before.<\/div><\/dd>\n\t<br>\n\t<dt id=\"getMaxScrollForTransition\"><code>getMaxScrollForTransition<\/code> <em>function<\/em><\/dt>\n\t<dd>Set a scroll position breakpoint for transitions. If the scroll position is greater than the value returned by this function, transition &quot;none&quot; will be used. The default function returns three times the height of the window.<\/dd>\n    <br>\n\t<dt id=\"gradeA\"><code>gradeA<\/code> <em>function that returns a boolean<\/em>, default: a function returning the value of $.support.mediaquery<\/dt>\n\t<dd>Any support conditions that must be met in order to proceed.<\/dd>\n\t<br>\n\t<dt id=\"hashListeningEnabled\"><code>hashListeningEnabled<\/code> <em>boolean<\/em>, default: true<\/dt>\n\t<dd>jQuery Mobile will automatically listen and handle changes to the location.hash. Disabling this will prevent jQuery Mobile from handling hash changes, which allows you to handle them yourself or use simple deep-links within a document that scroll to a particular id.<\/dd>\n\t<br>\n\t<dt id=\"ignoreContentEnabled\"><code>ignoreContentEnabled<\/code> <em>boolean<\/em>, default: false<\/dt>\n\t<dd><em>Warning:<\/em> Setting this property to true will cause performance degradation on enhancement. Once set, all automatic enhancements made by the framework to each enhanceable element of the user&apos;s markup will first check for a <code>data-enhance=false<\/code> parent node. If one is found the markup will be ignored. This setting and the accompanying data attribute provide a mechanism through which users can prevent enhancement over large sections of markup.<\/dd>\n\t<br>\n\t<dt id=\"keepNative\"><code>keepNative<\/code> <em>Selector<\/em>, default: &quot;:jqmData(role=&apos;none&apos;), :jqmData(role=&apos;nojs&apos;)&quot;<\/dt>\n\t<dd>Elements matching the selector specified in this option will never be enhanced. This is different from <a href=\"#ignoreContentEnabled\">ignoreContentEnabled<\/a> because it does not affect the children of elements that match this selector.<\/dd>\n\t<br>\n\t<dt id=\"linkBindingEnabled\"><code>linkBindingEnabled<\/code> <em>boolean<\/em>, default: true<\/dt>\n\t<dd>jQuery Mobile will automatically bind the clicks on anchor tags in your document. Setting this option to false will prevent all anchor click handling <em>including<\/em> the addition of active button state and alternate link bluring. This should only be used when attempting to delegate the click management to another library or custom code.<\/dd>\n\t<br>\n\t<dt id=\"maxTransitionWidth\"><code>maxTransitionWidth<\/code> <em>integer, boolean<\/em>, default: false<\/dt>\n\t<dd>Set a max width for transitions. The option accepts any number representing a pixel width and its default value <code>false<\/code>. If a number value is set, transition &quot;none&quot; will be used if the window is wider than the specified value.<\/dd>\n    <br>\n\t<dt id=\"minScrollBack\"><code>minScrollBack<\/code> <em>integer<\/em>, default: 0<\/dt>\n\t<dd>Minimum scroll distance that will be remembered when returning to a page.<div class=\"warning\"><strong>Deprecated<\/strong> in 1.4 and will be removed in 1.5. Any and all scrolling will be remembered. This matches native behavior. The old default value of 250 has changed to 0 during the deprecation period.<\/div><\/dd>\n\t<br>\n\t<dt id=\"ns\"><code>ns<\/code> <em>string<\/em>, default: &quot;&quot;<\/dt>\n\t<dd>The namespace used in data attributes (e.g., data-role). Can be set to any string, including a blank string which is the default. When using, it&apos;s clearest if you include a trailing dash, such as &quot;mynamespace-&quot; which maps to <code>data-mynamespace-foo=&quot;...&quot;<\/code>.\n\t\t<p>If you use data- namespacing, you will need to update\/override one selector in the theme CSS. The following data selectors should incorporate the namespace you&apos;re using:\n\t\t<div class=\"syntaxhighlighter javascript\">\n\t<table>\n\t\t<tbody>\n\t\t\t<tr>\n\t\t\t\t\n\t\t\t\t<td class=\"gutter\">\n\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"line n1\">1<\/div>\n\t\t\t\t\t\n\t\t\t\t<\/td>\n\t\t\t\t\n\t\t\t\t<td class=\"code\">\n\t\t\t\t\t<pre><div class=\"container\"><div class=\"line\"><code>.ui-mobile [data-mynamespace-role=page], .ui-mobile [data-mynamespace-role=dialog], .ui-page { ...<\/code><\/div><\/div><\/pre>\n\t\t\t\t<\/td>\n\t\t\t<\/tr>\n\t\t<\/tbody>\n\t<\/table>\n<\/div>\n\n\t\t<\/p>\n\t<\/dd>\n\t<br>\n\t<dt id=\"pageLoadErrorMessage\"><code>pageLoadErrorMessage<\/code> <em>string<\/em>, default: &quot;Error Loading Page&quot;<\/dt>\n\t<dd>Set the text that appears when a page fails to load through Ajax.<\/dd>\n\t<br>\n\t<dt id=\"pageLoadErrorMessageTheme\"><code>pageLoadErrorMessageTheme<\/code> <em>string<\/em>, default: &quot;e&quot;<\/dt>\n\t<dd>Set the theme that the error message box uses.<\/dd>\n\t<br>\n\t<dt id=\"phonegapNavigationEnabled\"><code>phonegapNavigationEnabled<\/code> <em>boolean<\/em>, default: false<\/dt>\n\t<dd>Replace calls to <code>window.history.back<\/code> with PhoneGap&apos;s navigation helper where it is available. This addresses navigation issues on page refresh in Android PhoneGap applications using jQuery Mobile.<\/dd>\n\t<br>\n\t<dt id=\"pushStateEnabled\"><code>pushStateEnabled<\/code> <em>boolean<\/em>, default: true<\/dt>\n\t<dd>Enhancement to use <code>history.replaceState<\/code> in supported browsers, to convert the hash-based Ajax URL into the full document path. Note that we recommend disabling this feature if Ajax is disabled or if external links are used extensively.<\/dd>\n\t<br>\n\t<dt id=\"subPageUrlKey\"><code>subPageUrlKey<\/code> <em>string<\/em>, default: &quot;ui-page&quot;<\/dt>\n\t<dd>The url parameter used for referencing widget-generated sub-pages (such as those generated by nested listviews). Translates to <em>example.html<strong>&amp;ui-page=<\/strong>subpageIdentifier<\/em>. The hash segment before &amp;ui-page= is used by the framework for making an Ajax request to the URL where the sub-page exists.<div class=\"warning\"><strong>Deprecated<\/strong> in 1.4 and will be removed in 1.5. <\/div><\/dd>\n\t<br>\n\t<dt id=\"transitionFallbacks.[transition]\"><code>transitionFallbacks.[transition]<\/code> <em>string<\/em>, default: &quot;fade&quot;<\/dt>\n\t<dd>Set the fallback transition for browsers that don&apos;t support 3D transforms for a specific transition type.<\/dd>\n\n<\/dl>","protected":false},"excerpt":{"rendered":"<p>A list of the configurable options.<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-6","page","type-page","status-publish","hentry","category-reference"],"_links":{"self":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/pages\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":1,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/pages\/6\/revisions"}],"predecessor-version":[{"id":7,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/pages\/6\/revisions\/7"}],"wp:attachment":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}