From 0f73dd2a240da303da67292e74a1996a795eaf31 Mon Sep 17 00:00:00 2001 From: maggiewachs Date: Thu, 29 Sep 2011 11:33:32 -0400 Subject: [PATCH] removed plugin events and methods page from nav (keeping it in the directory to redirect) --- docs/forms/checkboxes/events.html | 2 +- docs/forms/checkboxes/index.html | 2 +- docs/forms/checkboxes/methods.html | 2 +- docs/forms/checkboxes/options.html | 2 +- docs/forms/docs-forms.html | 4 +- docs/forms/forms-all-native.html | 2 +- docs/forms/forms-all.html | 2 +- docs/forms/forms-sample-response.php | 2 +- docs/forms/forms-sample-selfsubmit.php | 2 +- docs/forms/forms-sample.html | 2 +- docs/forms/forms-themes.html | 2 +- docs/forms/index.html | 2 +- docs/forms/plugin-eventsmethods.html | 157 +------------------------ docs/forms/radiobuttons/events.html | 2 +- docs/forms/radiobuttons/index.html | 2 +- docs/forms/radiobuttons/methods.html | 2 +- docs/forms/radiobuttons/options.html | 2 +- docs/forms/search/events.html | 2 +- docs/forms/search/index.html | 2 +- docs/forms/search/methods.html | 2 +- docs/forms/search/options.html | 2 +- docs/forms/selects/events.html | 2 +- docs/forms/selects/index.html | 2 +- docs/forms/selects/methods.html | 2 +- docs/forms/selects/options.html | 2 +- docs/forms/slider/events.html | 2 +- docs/forms/slider/index.html | 2 +- docs/forms/slider/methods.html | 2 +- docs/forms/slider/options.html | 2 +- docs/forms/switch/events.html | 2 +- docs/forms/switch/index.html | 2 +- docs/forms/switch/methods.html | 2 +- docs/forms/switch/options.html | 2 +- docs/forms/textinputs/events.html | 2 +- docs/forms/textinputs/index.html | 8 +- docs/forms/textinputs/methods.html | 2 +- docs/forms/textinputs/options.html | 2 +- 37 files changed, 48 insertions(+), 189 deletions(-) diff --git a/docs/forms/checkboxes/events.html b/docs/forms/checkboxes/events.html index 02f31763..f715f599 100644 --- a/docs/forms/checkboxes/events.html +++ b/docs/forms/checkboxes/events.html @@ -82,7 +82,7 @@ $("input[type='checkbox']").checkboxradio({
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/checkboxes/index.html b/docs/forms/checkboxes/index.html index 0fb830ed..a5aace18 100755 --- a/docs/forms/checkboxes/index.html +++ b/docs/forms/checkboxes/index.html @@ -136,7 +136,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/checkboxes/methods.html b/docs/forms/checkboxes/methods.html index 8c3de07f..a7f90113 100644 --- a/docs/forms/checkboxes/methods.html +++ b/docs/forms/checkboxes/methods.html @@ -86,7 +86,7 @@ $("input[type='checkbox']:first").attr("checked",true).checkboxradio("refresh");
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/checkboxes/options.html b/docs/forms/checkboxes/options.html index 4d97a560..1c77cbf0 100644 --- a/docs/forms/checkboxes/options.html +++ b/docs/forms/checkboxes/options.html @@ -71,7 +71,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/docs-forms.html b/docs/forms/docs-forms.html index 20a04440..f2d1ca25 100755 --- a/docs/forms/docs-forms.html +++ b/docs/forms/docs-forms.html @@ -113,7 +113,7 @@ myswitch[0].selectedIndex = 1; myswitch .slider("refresh"); -

    We're considering adding a refresh method to forms to let the framework refresh all the individual elemnts withing but that is a future enhancement.

    +

    We're considering adding a refresh method to an entire form to let the framework refresh all the child elements as a future enhancement.

    @@ -138,7 +138,7 @@ myswitch .slider("refresh");
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/forms-all-native.html b/docs/forms/forms-all-native.html index fe5d38fa..d585cf5b 100755 --- a/docs/forms/forms-all-native.html +++ b/docs/forms/forms-all-native.html @@ -228,7 +228,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/forms-all.html b/docs/forms/forms-all.html index 698f2d0c..c705f04e 100755 --- a/docs/forms/forms-all.html +++ b/docs/forms/forms-all.html @@ -226,7 +226,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/forms-sample-response.php b/docs/forms/forms-sample-response.php index 244dc4b7..0a64375f 100755 --- a/docs/forms/forms-sample-response.php +++ b/docs/forms/forms-sample-response.php @@ -62,7 +62,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/forms-sample-selfsubmit.php b/docs/forms/forms-sample-selfsubmit.php index 8f38d6b3..6364d641 100755 --- a/docs/forms/forms-sample-selfsubmit.php +++ b/docs/forms/forms-sample-selfsubmit.php @@ -60,7 +60,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/forms-sample.html b/docs/forms/forms-sample.html index ddcd5b64..2316a381 100755 --- a/docs/forms/forms-sample.html +++ b/docs/forms/forms-sample.html @@ -93,7 +93,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/forms-themes.html b/docs/forms/forms-themes.html index 20294989..15dde90d 100755 --- a/docs/forms/forms-themes.html +++ b/docs/forms/forms-themes.html @@ -387,7 +387,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/index.html b/docs/forms/index.html index a86a2679..614df3f5 100755 --- a/docs/forms/index.html +++ b/docs/forms/index.html @@ -37,7 +37,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/plugin-eventsmethods.html b/docs/forms/plugin-eventsmethods.html index ca1f4074..f32e3a1f 100755 --- a/docs/forms/plugin-eventsmethods.html +++ b/docs/forms/plugin-eventsmethods.html @@ -22,156 +22,11 @@
    -

    Form methods reference

    -

    After jQuery Mobile auto-enhances form controls into custom controls, you can manipulate many of their properties via plugin methods. The currently available methods are listed below. Check Github for updates - we're working on complete coverage.

    -

    Selectmenu

    -
    -
    open open a closed select menu
    -
    -
    
    -$('select').selectmenu('open');			
    -			
    -
    - -
    close close an open select menu
    -
    -
    
    -$('select').selectmenu('close');			
    -			
    -
    - -
    refresh: Update the custom menu to reflect the native select element's value.
    -

    If the number of options in the select are different than the number of items in the custom menu, it'll rebuild the custom menu. Also, if you pass a true argument you can force the rebuild to happen.

    -
    
    -//refresh value			
    -$('select').selectmenu('refresh');
    -
    -//refresh and force rebuild
    -$('select').selectmenu('refresh', true);
    -			
    -
    - -
    enable: enable a disabled select.
    -
    -
    
    -$('select').selectmenu('enable');			
    -			
    -
    - -
    disable: disable a select.
    -
    -
    
    -$('select').selectmenu('disable');			
    -			
    -
    - -
    - - - - - - -

    Textinput

    - -
    -
    enable: enable a disabled textinput/textarea.
    -
    -
    
    -$('input').textinput('enable');			
    -			
    -
    - -
    disable: disable a textinput/textarea.
    -
    -
    
    -$('textarea').textinput('disable');			
    -			
    -
    - -
    - - - - - -

    checkboxradio

    - -
    -
    enable: enable a disabled checkboxradio.
    -
    -
    
    -$('input').checkboxradio('enable');			
    -			
    -
    - -
    disable: disable a checkboxradio.
    -
    -
    
    -$('input').checkboxradio('disable');			
    -			
    -
    - -
    refresh: refresh a checkboxradio's value.
    -
    -
    
    -$('input').checkboxradio('refresh');			
    -			
    -
    -
    - - -

    Slider

    - -
    -
    enable: enable a disabled slider.
    -
    -
    
    -$('input').slider('enable');			
    -			
    -
    - -
    disable: disable a slider.
    -
    -
    
    -$('input').slider('disable');			
    -			
    -
    - -
    refresh: refresh a slider's value.
    -
    -
    
    -$('input').slider('refresh');			
    -			
    -
    -
    - - -

    Form buttons

    - -
    -
    enable: enable a disabled button.
    -
    -
    
    -$('input').button('enable');			
    -			
    -
    - -
    disable: disable a slider.
    -
    -
    
    -$('input').button('disable');			
    -			
    -
    - -
    - -

    Degraded Form Input Types

    -

    jQuery Mobile degrades several HTML5 input types back to type=text, or type=number after adding enhanced controls. For example, inputs with a type of range are enhanced with a custom slider control, and their type is set to number to offer a usable form input alongside that slider. Inputs with a type of search are degraded back to type=text after we add our own themable search input styling.

    -

    The page plugin contains a list of input types that are set to either true which means they'll degrade to type=text, false which means they'll be left alone, or a string such as "number", which means they'll be converted to that type (such as the case of type=range).

    - -

    You can configure which types are changed via the page plugin's degradeInputs option, which can be manipulated externally via $.mobile.page.prototype.options.degradeInputs, which has properties: color, date, datetime, "datetime-local", email, month, number, range, search, tel, time, url, and week. Be sure to configure this inside an event handler bound to the mobileinit event, so that it applies to the first page as well as subsequent pages that are loaded.

    +

    This page has been retired.

    + +

    Plugin events and methods are now documented for each component separately (see links on the left).

    +
    @@ -185,7 +40,7 @@ $('input').button('disable');
  • Form elements
  • Form basics
  • Form element gallery
  • -
  • Text inputs
  • +
  • Text inputs
  • Search inputs
  • Slider
  • Flip toggle switch
  • @@ -195,8 +50,6 @@ $('input').button('disable');
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • -
    diff --git a/docs/forms/radiobuttons/events.html b/docs/forms/radiobuttons/events.html index 473faef6..6bf317bb 100644 --- a/docs/forms/radiobuttons/events.html +++ b/docs/forms/radiobuttons/events.html @@ -84,7 +84,7 @@ $("input[type='radio']").checkboxradio({
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/radiobuttons/index.html b/docs/forms/radiobuttons/index.html index fac51cff..1fe6c99f 100755 --- a/docs/forms/radiobuttons/index.html +++ b/docs/forms/radiobuttons/index.html @@ -136,7 +136,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/radiobuttons/methods.html b/docs/forms/radiobuttons/methods.html index 9b1258f2..3ecfcd9d 100644 --- a/docs/forms/radiobuttons/methods.html +++ b/docs/forms/radiobuttons/methods.html @@ -86,7 +86,7 @@ $("input[type='radio']:first").attr("checked",true).checkboxradio("refresh");
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/radiobuttons/options.html b/docs/forms/radiobuttons/options.html index f71cdec5..1e214cb0 100644 --- a/docs/forms/radiobuttons/options.html +++ b/docs/forms/radiobuttons/options.html @@ -71,7 +71,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/search/events.html b/docs/forms/search/events.html index 6b91a73a..1958a0c8 100644 --- a/docs/forms/search/events.html +++ b/docs/forms/search/events.html @@ -81,7 +81,7 @@ $( ".selector" ).textinput({
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/search/index.html b/docs/forms/search/index.html index 4cdbf398..c1916ea0 100755 --- a/docs/forms/search/index.html +++ b/docs/forms/search/index.html @@ -91,7 +91,7 @@ $('.mySearchInput').textinput();
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/search/methods.html b/docs/forms/search/methods.html index edcd4023..79b86243 100644 --- a/docs/forms/search/methods.html +++ b/docs/forms/search/methods.html @@ -78,7 +78,7 @@ $('.selector').textinput('disable');
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/search/options.html b/docs/forms/search/options.html index a8e919f7..7ead1f08 100644 --- a/docs/forms/search/options.html +++ b/docs/forms/search/options.html @@ -80,7 +80,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/selects/events.html b/docs/forms/selects/events.html index 4bdd5904..f73ea63a 100644 --- a/docs/forms/selects/events.html +++ b/docs/forms/selects/events.html @@ -83,7 +83,7 @@ $( ".selector" ).selectmenu({
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/selects/index.html b/docs/forms/selects/index.html index 91a30feb..8305f66f 100644 --- a/docs/forms/selects/index.html +++ b/docs/forms/selects/index.html @@ -460,7 +460,7 @@ $('select').selectmenu();
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/selects/methods.html b/docs/forms/selects/methods.html index a6ea6be6..afd30d97 100644 --- a/docs/forms/selects/methods.html +++ b/docs/forms/selects/methods.html @@ -104,7 +104,7 @@ $('select').selectmenu('refresh', true);
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/selects/options.html b/docs/forms/selects/options.html index fb1e772f..aba125b3 100644 --- a/docs/forms/selects/options.html +++ b/docs/forms/selects/options.html @@ -130,7 +130,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/slider/events.html b/docs/forms/slider/events.html index b7fc8400..1a9e2c04 100644 --- a/docs/forms/slider/events.html +++ b/docs/forms/slider/events.html @@ -82,7 +82,7 @@ $( ".selector" ).slider({
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/slider/index.html b/docs/forms/slider/index.html index 9135a890..024d6f46 100644 --- a/docs/forms/slider/index.html +++ b/docs/forms/slider/index.html @@ -85,7 +85,7 @@ $('input').slider();
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/slider/methods.html b/docs/forms/slider/methods.html index e656aeb1..17f6f8ae 100644 --- a/docs/forms/slider/methods.html +++ b/docs/forms/slider/methods.html @@ -86,7 +86,7 @@ $('.selector').slider('refresh');
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/slider/options.html b/docs/forms/slider/options.html index 43be2416..2dd60110 100644 --- a/docs/forms/slider/options.html +++ b/docs/forms/slider/options.html @@ -95,7 +95,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/switch/events.html b/docs/forms/switch/events.html index 5ab8e017..55fca7ce 100644 --- a/docs/forms/switch/events.html +++ b/docs/forms/switch/events.html @@ -82,7 +82,7 @@ $( ".selector" ).slider({
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/switch/index.html b/docs/forms/switch/index.html index 556f6222..e0f87439 100644 --- a/docs/forms/switch/index.html +++ b/docs/forms/switch/index.html @@ -87,7 +87,7 @@ $('select').slider();
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/switch/methods.html b/docs/forms/switch/methods.html index 41572dfe..ba9545b9 100644 --- a/docs/forms/switch/methods.html +++ b/docs/forms/switch/methods.html @@ -86,7 +86,7 @@ $('.selector').slider('refresh');
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/switch/options.html b/docs/forms/switch/options.html index 52125490..8b814050 100644 --- a/docs/forms/switch/options.html +++ b/docs/forms/switch/options.html @@ -95,7 +95,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/textinputs/events.html b/docs/forms/textinputs/events.html index 8a1cce04..b230fe5e 100644 --- a/docs/forms/textinputs/events.html +++ b/docs/forms/textinputs/events.html @@ -81,7 +81,7 @@ $( ".selector" ).textinput({
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/textinputs/index.html b/docs/forms/textinputs/index.html index 5feff4e4..12d244c7 100755 --- a/docs/forms/textinputs/index.html +++ b/docs/forms/textinputs/index.html @@ -79,6 +79,12 @@ + +

    Degraded input types

    +

    jQuery Mobile degrades several HTML5 input types back to type=text, or type=number after adding enhanced controls. For example, inputs with a type of range are enhanced with a custom slider control, and their type is set to number to offer a usable form input alongside that slider. Inputs with a type of search are degraded back to type=text after we add our own themable search input styling.

    +

    The page plugin contains a list of input types that are set to either true which means they'll degrade to type=text, false which means they'll be left alone, or a string such as "number", which means they'll be converted to that type (such as the case of type=range).

    + +

    You can configure which types are changed via the page plugin's degradeInputs option, which can be manipulated externally via $.mobile.page.prototype.options.degradeInputs, which has properties: color, date, datetime, "datetime-local", email, month, number, range, search, tel, time, url, and week. Be sure to configure this inside an event handler bound to the mobileinit event, so that it applies to the first page as well as subsequent pages that are loaded.

    Textareas

    @@ -132,7 +138,7 @@ $('input').textinput();
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/textinputs/methods.html b/docs/forms/textinputs/methods.html index cddced9f..c7793a18 100644 --- a/docs/forms/textinputs/methods.html +++ b/docs/forms/textinputs/methods.html @@ -78,7 +78,7 @@ $('.selector').textinput('disable');
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • + diff --git a/docs/forms/textinputs/options.html b/docs/forms/textinputs/options.html index 3583034b..b83e4fbb 100644 --- a/docs/forms/textinputs/options.html +++ b/docs/forms/textinputs/options.html @@ -80,7 +80,7 @@
  • Theming forms
  • Native form elements
  • Submitting forms
  • -
  • Plugin methods
  • +