From: heeju Joo Date: Fri, 17 Jul 2015 06:53:54 +0000 (+0900) Subject: [TAU] correction of TAU API reference X-Git-Tag: tizen_3.0/TD_SYNC/20161201~692^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=544a0de7cb5c7fc0680720677b1d8d65f14fbdc1;p=sdk%2Fonline-doc.git [TAU] correction of TAU API reference Change-Id: Iffd89c3c4893cceb3b5ab2683bb605b83747445f Signed-off-by: heeju Joo --- diff --git a/org.tizen.sampledescriptions/html/mobile_w/sd_mw.htm b/org.tizen.sampledescriptions/html/mobile_w/sd_mw.htm index 6b235af..ed2562c 100644 --- a/org.tizen.sampledescriptions/html/mobile_w/sd_mw.htm +++ b/org.tizen.sampledescriptions/html/mobile_w/sd_mw.htm @@ -230,7 +230,7 @@ -

This sample is also explained in the UI Component Reference.

+

This sample is also explained in the UI Component Reference.

TouchPaint @@ -290,4 +290,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.ui.guides/html/web/tau/ui_component_w.htm b/org.tizen.ui.guides/html/web/tau/ui_component_w.htm index 9851f65..2e52d9f 100755 --- a/org.tizen.ui.guides/html/web/tau/ui_component_w.htm +++ b/org.tizen.ui.guides/html/web/tau/ui_component_w.htm @@ -28,8 +28,8 @@

Related Info

@@ -79,7 +79,7 @@

Setting UI Component Options

-

TAU supports several ways of setting options for a UI component. For more information, see Mobile UI Components and Wearable UI Components.

+

TAU supports several ways of setting options for a UI component. For more information, see Mobile UI Components and Wearable UI Components.

You have the following options for setting the options:

-
  • Mobile UI Components +
  • Mobile UI Components
  • -
  • Wearable UI Components +
  • Wearable UI Components
    • Button
    • CheckboxRadio
    • diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Autodividers.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Autodividers.htm index 70165f9..c5fd862 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Autodividers.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Autodividers.htm @@ -11,7 +11,7 @@

      Autodividers

      -

      The autodividers component is an extension of the list view component, and it automatically creates dividers for a list view.

      +

      The autodividers component is an extension of the list view component, and it automatically creates dividers for a list view.

      @@ -20,7 +20,7 @@ +To support Backward compatibility, please import tau.support-2.3.js.
      This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js.
      diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Checkboxradio.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Checkboxradio.htm index c58c91b..9a68511 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Checkboxradio.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Checkboxradio.htm @@ -18,10 +18,10 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. - Since 2.4, to use checkbox and radio button, please refer Checkbox and Radio Component. + Since 2.4, to use checkbox and radio button, please refer Checkbox and Radio Component. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Collapsible.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Collapsible.htm index b29d7a3..9b29f93 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Collapsible.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Collapsible.htm @@ -21,10 +21,10 @@ This component has been DEPRECATED since Tizen 2.4.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. - Since 2.4, to use Collapsible component, please use a Expandable Component. + Since 2.4, to use Collapsible component, please use a Expandable Component. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Controlgroup.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Controlgroup.htm index a568ca0..3493872 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Controlgroup.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Controlgroup.htm @@ -21,7 +21,7 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_FastScroll.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_FastScroll.htm index 8948f0b..cef2c6b 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_FastScroll.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_FastScroll.htm @@ -22,10 +22,10 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. - Since 2.4, to use FastScroll component, please refer IndexScrollbar Component. + Since 2.4, to use FastScroll component, please refer IndexScrollbar Component. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Gallery.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Gallery.htm index 6662403..87469b7 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Gallery.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Gallery.htm @@ -21,10 +21,10 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. - Since 2.4, to implement Gallery sample, please use Section Changer component. + Since 2.4, to implement Gallery sample, please use Section Changer component. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ListDivider.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ListDivider.htm index b303bed..941d946 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ListDivider.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ListDivider.htm @@ -21,10 +21,10 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. - Since 2.4, it has been renamed to GroupIndex. To use Group index in Listview, please refer Listview Component. + Since 2.4, it has been renamed to GroupIndex. To use Group index in Listview, please refer Listview Component. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Notification.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Notification.htm index 201890a..3a8b157 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Notification.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Notification.htm @@ -21,7 +21,7 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ProgressBar.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ProgressBar.htm index 0a40f6e..bff30cd 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ProgressBar.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ProgressBar.htm @@ -24,7 +24,7 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ScrollHandler.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ScrollHandler.htm index 8b1ee5e..f0e357c 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ScrollHandler.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_ScrollHandler.htm @@ -21,7 +21,7 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_SearchBar.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_SearchBar.htm index abf2bc3..832a19f 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_SearchBar.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_SearchBar.htm @@ -20,10 +20,10 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. - Since 2.4, SearchBar component has been renamed to SearchInput. To use this component, please refer SearchInput component. + Since 2.4, SearchBar component has been renamed to SearchInput. To use this component, please refer SearchInput component. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_SelectMenu.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_SelectMenu.htm index 3899000..3e49623 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_SelectMenu.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_SelectMenu.htm @@ -19,10 +19,10 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. - Since 2.4, this component has been renamed to DropdownMenu. To use this component, please refer DropdownMenu component. + Since 2.4, this component has been renamed to DropdownMenu. To use this component, please refer DropdownMenu component. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Swipe.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Swipe.htm index e43d86b..60bac25 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Swipe.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Swipe.htm @@ -21,7 +21,7 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_TabBar.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_TabBar.htm index 8eb3dda..1c2fa6a 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_TabBar.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_TabBar.htm @@ -22,10 +22,10 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. - Since 2.4, to use Tab Bar component, please refer Tabs component. + Since 2.4, to use Tab Bar component, please refer Tabs component. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Tokentextarea.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Tokentextarea.htm index 2880505..a8e8d7e 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Tokentextarea.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/deprecated/mobile_Tokentextarea.htm @@ -24,10 +24,10 @@ This component has been DEPRECATED since Tizen 2.4 and will be deleted in Tizen 3.0.
      -To support Backward compitablity, please import tau.support-2.3.js. +To support Backward compatibility, please import tau.support-2.3.js. - Since 2.4, this component has been renamed to TextEnveloper. To use this, please refer TextEnveloper component. + Since 2.4, this component has been renamed to TextEnveloper. To use this, please refer TextEnveloper component. diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Button.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Button.htm index 2a75afa..2bcaed4 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Button.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Button.htm @@ -32,7 +32,8 @@

      Default Selectors

      -

      By default, all <button> elements and all <input> elements with the type="button", type="submit", or type="reset" attribute are displayed as Tizen Web UI buttons. In addition, all elements with the data-role="button" attribute are displayed as Tizen Web UI buttons. To prevent a <button> or <input> element from being displayed as a Tizen Web UI button, use the data-role="none" attribute with the element.

      +

      By default, all <button> elements are displayed as Tizen Web UI buttons.
      +In addition, all elements with the class="ui-btn" and data-role="button" attribute are displayed as Tizen Web UI buttons.

      Manual Constructor

      @@ -47,13 +48,6 @@

      The constructor requires an HTMLElement parameter to create the component, and you can get it with the document.getElementById() method. The constructor can also take a second parameter, which is an object defining the configuration options for the component.

      -

      If the jQuery library is loaded, you can use its method:

      - -
      <div id="button"></div>
      -<script>
      -   $("#button").button();
      -</script>
      -

      HTML Examples

      @@ -61,9 +55,9 @@
    • -

      To create a simple button from a link using the data-role attribute:

      +

      To create a simple button from a link using the class selector:

      -
      <a href="#page2" data-role="button">Link button</a>
      +
      <a href="#page2" class="ui-btn">Link button</a>
       
    • @@ -79,17 +73,6 @@ -
    • - -

      To create a simple button using the <input> element:

      - -
      <input type="button" value="Button" />
      -<input type="submit" value="Submit Button" />
      -<input type="reset" value="Reset Button" />
      -
      - -
    • -

    Options

    @@ -109,21 +92,7 @@ Description - - - data-bar - boolean - false - If the button is part of a bar, set to true. - - - - data-corners - boolean - false - Sets whether the corners of the button are shown. - - + data-icon string | null @@ -134,24 +103,24 @@ data-iconpos "left" | "right" | "top" | "bottom" | "notext" | null - null + "left" Position of the icon. - - - data-iconshadow - boolean - true - Sets whether the shadow of the button icon is shown. - + data-inline - string | null - null + boolean + false If the value is true, the button has the display = "inline" CSS property. - + + + data-disabled + boolean + false + If the value is true, the button has disabled status. + data-style @@ -169,20 +138,20 @@

    By default, all buttons in the body content are styled as block-level elements, so they fill the width of the screen. If you want a more compact button that is only as wide as the text and icons inside it, add the data-inline="true" attribute to the button.

    -
    <a href="index.html" data-role="button" data-inline="true">Cancel</a>
    +
    <a href="#" class="ui-btn" data-inline="true">Cancel</a>
     

    If you have multiple buttons that must sit side-by-side on the same line, add the data-inline="true" attribute to each button. This styles the buttons to be the width of their content and floats the buttons so that they sit on the same line.

    -
    <a href="index.html" data-role="button" data-inline="true">Cancel</a>
    -<a href="index.html" data-role="button" data-inline="true">Save</a>
    +
    <a href="#" class="ui-btn" data-inline="true">Cancel</a>
    +<a href="#" class="ui-btn" data-inline="true">Save</a>
     

    Icon Positioning

    By default, all icons in buttons are placed to the left of the button text. This default can be overridden using the data-iconpos attribute.

    -
    <a href="index.html" data-role="button" data-icon="delete" data-iconpos="right">Delete</a>
    +
    <a href="#" class="ui-btn" data-icon="delete" data-iconpos="right">Delete</a>
     

    Possible values for the data-iconpos attribute:

    @@ -196,16 +165,14 @@

    You can also create an icon-only button by setting the data-iconpos attribute to "notext". The button plugin hides the text on-screen, but adds it as a title attribute to the link to provide context for screen readers and devices that support tooltips.

    -
    <a href="index.html" data-role="button" data-icon="delete" data-iconpos="notext">Delete</a>
    +
    <a href="#" class="ui-btn" data-icon="delete" data-iconpos="notext">Delete</a>
     

    Methods

    To call a method on the component, use one of the existing APIs:

    -
    • TAU API (RECOMMENDED):

      - -
      <div id="button" data-role="button"></div>
      +
      <div id="button" class="ui-btn"></div>
       <script>
          var buttonElement = document.getElementById("button"),
              button = tau.widget.Button(buttonElement);
      @@ -214,18 +181,7 @@
          // For example:
          button.value("text");
       </script>
      -
    • - -
    • jQuery API (support for backward compatibility):

      - -
      <div id="button"></div>
      -<script>
      -   // $("#button").button("methodName", argument1, argument2, ...);
      -   // For example:
      -   $("#button").button("value", "new text");
      -</script>
      -
    - +

    Summary

    @@ -321,10 +277,10 @@

    Code - example (TAU API RECOMMENDED):

    + example:

    -<div data-role="button" id="button"></div>
    +<div class="ui-btn" id="button"></div>
     <script>
        var element = document.getElementById("button"),
            buttonWidget = tau.widget.Button(element);
    @@ -332,17 +288,6 @@
     </script>
     
    -
    -

    Code - example (jQuery API support for backward compatibility):

    -
    -<div data-role="button" id="button"></div>
    -<script>
    -   $("#button").button("disable");
    -</script>
    -
    -
    @@ -389,10 +334,10 @@

    Code - example (TAU API RECOMMENDED):

    + example:

    -<div data-role="button" id="button"></div>
    +<div class="ui-btn" id="button"></div>
     <script>
        var element = document.getElementById("button"),
            buttonWidget = tau.widget.Button(element);
    @@ -400,17 +345,7 @@
     </script>
     
    -
    -

    Code - example (jQuery API support for backward compatibility):

    -
    -<div data-role="button" id="button"></div>
    -<script>
    -   $("#button").button("enable");
    -</script>
    -
    -
    + @@ -459,10 +394,10 @@

    Code - example (TAU API RECOMMENDED):

    + example:

    -<div data-role="button" id="button"></div>
    +<div class="ui-btn" id="button"></div>
     <script>
        var element = document.getElementById("button"),
            buttonWidget = tau.widget.Button(element);
    @@ -470,17 +405,7 @@
     </script>
     
    -
    -

    Code - example (jQuery API support for backward compatibility):

    -
    -<div data-role="button" id="button"></div>
    -<script>
    -   $("#button").button("refresh");
    -</script>
    -
    -
    + @@ -556,10 +481,10 @@

    Code - example (TAU API RECOMMENDED):

    + example:

    -<div data-role="button" id="button"></div>
    +<div class="ui-btn" id="button"></div>
     <script>
        var element = document.getElementById("button"),
            buttonWidget = tau.widget.Button(element),
    @@ -571,21 +496,6 @@
     </script>
     
    -
    -

    Code - example (jQuery API support for backward compatibility):

    -
    -<div data-role="button" id="button"></div>
    -<script>
    -   // Value contains inner text of button
    -   $("#button").button("value");
    -
    -   // "New text" will be text of button
    -   $("#button").button("value", "New text");
    -</script>
    -
    -
    diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_ColoredListview.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_ColoredListview.htm index 469bf4e..4563f41 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_ColoredListview.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_ColoredListview.htm @@ -65,11 +65,7 @@
    -

    Where to Go Next

    - + - - - +

    Return value:

    @@ -206,10 +200,7 @@ - -
    -

    Code example:

    @@ -223,23 +214,9 @@ </script>
    - + - - - +
    enable
    @@ -259,9 +236,7 @@

    - - - +

    Return value:

    @@ -277,8 +252,7 @@ - - +
    @@ -294,31 +268,9 @@ </script>
    - + - - - - - - - - - -
    refresh
    @@ -375,19 +327,7 @@ </script>
    - + @@ -452,22 +392,7 @@ </script> - + diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Tabs.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Tabs.htm index 3f1eafe..62b075e 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Tabs.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Tabs.htm @@ -10,7 +10,18 @@

    Tabs

    -The Tabs component is a controller component for operate closely with tabbar and sectionChanger.So this component should be used with tabbar and sectionChanger. +The Tabs component is a controller component for operate closely with tabbar and sectionChanger. + + + + + + + + + + +
    Note
    This component is just a controller. So, please use this component with tabbar and SectionChanger component.

    Table of Contents

      @@ -26,41 +37,52 @@ The Tabs component is a controller component for operate closely with tabbar and

      HTML Examples

      -
      - <div id="tabs" class="ui-tabs">
      -     <div class="ui-tabbar">
      -         <ul>
      -             <li><a href="#" class="ui-btn-active">Tab1</a></li>
      -             <li><a href="#">Tab2</a></li>
      -             <li><a href="#">Tab3</a></li>
      -         </ul>
      -     </div>
      -     <div class="ui-section-changer">
      -         <div>
      -             <section class="ui-section-active">
      -                 <ul class="ui-listview">
      -                     <li class="ui-li-static">
      -                         Section 1
      -                     </li>
      -                 </ul>
      -             </section>
      -             <section>
      -                 <ul class="ui-listview">
      -                     <li class="ui-li-static">
      -                         Section 2
      -                     </li>
      -                 </ul>
      -             </section>
      -             <section>
      -                 <ul class="ui-listview">
      -                     <li class="ui-li-static">
      -                         Section 3
      -                     </li>
      -                 </ul>
      -             </section>
      -         </div>
      -     </div>
      - </div>
      +

      Using tabbar in Tabs component

      +

      To use Tabs component, it need tabbar as child.
      +When define tabbar in HTML, just add class="ui-tabbar". Please refer following code:

      +
      <div class="ui-page">
      +   <div class="ui-tabs">
      +      <div class="ui-tabbar">
      +         <ul>
      +            <li class="ui-li-anchor"><a href="#" class="ui-tab-active">Tab1</a></li>
      +            <li class="ui-li-anchor"><a href="#">Tab2</a></li>
      +            <li class="ui-li-anchor"><a href="#">Tab3</a></li>
      +            <li class="ui-li-anchor"><a href="#">Tab4</a></li>
      +         </ul>
      +      </div>
      +   </div>
      +</div>
      +
      + +

      Using tabbar and SectionChanger in Tabs component

      +
      <div class="ui-page">
      +   <div class="ui-tabs">
      +      <div class="ui-tabbar">
      +         <ul>
      +            <li class="ui-li-anchor"><a href="#" class="ui-tab-active">Tab1</a></li>
      +            <li class="ui-li-anchor"><a href="#">Tab2</a></li>
      +            <li class="ui-li-anchor"><a href="#">Tab3</a></li>
      +            <li class="ui-li-anchor"><a href="#">Tab4</a></li>
      +         </ul>
      +      </div>
      +      <div class="ui-section-changer" id="sectionChanger">
      +         <div>
      +            <section class="ui-section-active">
      +               Section1
      +            </section>
      +            <section>
      +               Section 2
      +            </section>
      +            <section>
      +               Section 3
      +            </section>
      +            <section>
      +               Section 4
      +            </section>
      +         </div>
      +      </div>
      +   </div>
      +</div>
       

      Manual constructor

      diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_TextEnveloper.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_TextEnveloper.htm index 8a872d6..23ab8d3 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_TextEnveloper.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_TextEnveloper.htm @@ -70,11 +70,6 @@ If you want to delete word block, you should press the backspace key. If you foc
      <div class="ui-text-enveloper"></div>
       
      -

      Create simple TextEnveloper from div using data-role:

      - -
      <div data-role="textenveloper"></div>
      -
      -

      Manual constructor

      diff --git a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_TextInput.htm b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_TextInput.htm index 6148098..795aa56 100644 --- a/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_TextInput.htm +++ b/org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_TextInput.htm @@ -18,8 +18,6 @@ TextInput component is decorator for input elements.
      1. Default selectors
      2. - -
      3. Manual constructor
      4. HTML Examples
      5. @@ -33,51 +31,25 @@ TextInput component is decorator for input elements.

        In default elements matches to :

          -
        • INPUT with type "text" or "number" or "password" or "email" or "url" or "tel" or "month" or "week" or "datetime-local" or "color" or without any -type
        • +
        • INPUT with type "text" or "number" or "password" or "email" or "url" or "tel"
        • TEXTAREA
        • -
        • HTML elements with class ui-text-input
        • +
        • INPUT elements with class ui-text-input
        -

        Manual constructor

        - -

        For manual creation of TextInput component you can use constructor from tau namespace:

        - -
            <form>
        -        <label for="text-1">Text input:</label>
        -        <input type="search" name="text-1" id="text-1" value="">
        -    </form>
        -    <script>
        -        var inputElement = document.getElementById("text-1"),
        -            textInput = tau.widget.TextInput(inputElement);
        -    </script>
        -
        -

        HTML Examples

        -

        Create simple text input on INPUT element

        +

        Create simple text input on INPUT element with clear button

        -
            <form>
        -        <label for="text-1">Text input:</label>
        -        <input type="text" name="text-1" id="text-1" value="">
        -    </form>
        +
        <label for="texttype">Text Input:</label>
        +<input type="text" name="texttype" id="texttype" placeholder="Input text here" data-clear-btn="true"/>
         

        Create simple text input on TEXTAREA element

        -
            <form>
        -        <label for="text-1">Text input:</label>
        -        <textarea name="text-1" id="text-1"></textarea>
        -    </form>
        +
        <label for="textarea">Text Area:</label>
        +<textarea type="text" name="textarea" id="textarea" placeholder="Input text here"></textarea>
         
        -

        Create simple text input on INPUT element with class ui-text-input

        - -
            <form>
        -        <label for="text-1">Text input:</label>
        -        <input name="text-1" id="text-1" class="ui-text-input">
        -    </form>
        -

        Options

        @@ -187,13 +159,12 @@ type

        Code example:

        -<input id="input" />
        +							prettyprint"><input type="text" name="texttype" id="texttype" />
         <script>
        -    var inputElement = document.getElementById("input"),
        -        textInputWidget = tau.widget.TextInput();
        +   var inputElement = document.getElementById("texttype"),
        +      textInputWidget = tau.widget.TextInput();
         
        -    textInputWidget.enable();
        +   textInputWidget.enable();
         </script>
         
        @@ -245,13 +216,12 @@ type

        Code example:

        -<input id="input" />
        +							prettyprint"><input type="text" name="texttype" id="texttype" />
         <script>
        -    var inputElement = document.getElementById("input"),
        -        textInputWidget = tau.widget.TextInput();
        +   var inputElement = document.getElementById("texttype"),
        +      textInputWidget = tau.widget.TextInput();
         
        -    textInputWidget.disable();
        +   textInputWidget.disable();
         </script>
         
        @@ -262,11 +232,6 @@ type -

        Where to Go Next

        -