[TAU] adding circular feature to online-doc
authorheeju Joo <heeju.joo@samsung.com>
Tue, 7 Apr 2015 04:53:28 +0000 (13:53 +0900)
committerHeeju Joo <heeju.joo@samsung.com>
Tue, 7 Apr 2015 06:10:25 +0000 (15:10 +0900)
Change-Id: I1a479ce4e0273b851fc4ff618cedbdef19332b65
Signed-off-by: heeju Joo <heeju.joo@samsung.com>
58 files changed:
org.tizen.web.apireference/html/images/circular_support.png [new file with mode: 0755]
org.tizen.web.apireference/html/images/rectangular_footer.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/rectangular_header.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/rectangular_index.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/rectangular_moreoption.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/rectangular_multibtn.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/rectangular_processing.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/rectangular_progress.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/rectangular_snap.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/rectangular_thumbnail.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/round_footer.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/round_header.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/round_index.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/round_moreoption.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/round_multibtn.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/round_processing.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/round_progress.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/round_snap.png [new file with mode: 0644]
org.tizen.web.apireference/html/images/round_thumbnail.png [new file with mode: 0644]
org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/circular_support.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/expandableheader.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/footerbutton.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/indexscroll.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/moreoptions.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/processing.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/progress.htm [new file with mode: 0644]
org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/snaplist.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/thumbnail.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/event/drag.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/event/events.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/event/gesture.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/event/swipe.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/helper/helper.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/helper/helper_listmarqueestyle.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/index.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/page/app_page_layout.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/page/multi_page.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/page/page_change.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/page/page_event.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_button.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_checkbox.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_circleprogressbar.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_circularindexscrollbar.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_drawer.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_indexscrollbar.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_list.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_marquee.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_pageindicator.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_popup.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_processing.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_progress.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_reference.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_section_changer.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_slider.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_snaplistview.htm [new file with mode: 0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_swipelist.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_toggleswitch.htm [changed mode: 0644->0755]
org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_virtuallist.htm [changed mode: 0644->0755]

diff --git a/org.tizen.web.apireference/html/images/circular_support.png b/org.tizen.web.apireference/html/images/circular_support.png
new file mode 100755 (executable)
index 0000000..5055250
Binary files /dev/null and b/org.tizen.web.apireference/html/images/circular_support.png differ
diff --git a/org.tizen.web.apireference/html/images/rectangular_footer.png b/org.tizen.web.apireference/html/images/rectangular_footer.png
new file mode 100644 (file)
index 0000000..016f2fd
Binary files /dev/null and b/org.tizen.web.apireference/html/images/rectangular_footer.png differ
diff --git a/org.tizen.web.apireference/html/images/rectangular_header.png b/org.tizen.web.apireference/html/images/rectangular_header.png
new file mode 100644 (file)
index 0000000..042f616
Binary files /dev/null and b/org.tizen.web.apireference/html/images/rectangular_header.png differ
diff --git a/org.tizen.web.apireference/html/images/rectangular_index.png b/org.tizen.web.apireference/html/images/rectangular_index.png
new file mode 100644 (file)
index 0000000..1ece1d5
Binary files /dev/null and b/org.tizen.web.apireference/html/images/rectangular_index.png differ
diff --git a/org.tizen.web.apireference/html/images/rectangular_moreoption.png b/org.tizen.web.apireference/html/images/rectangular_moreoption.png
new file mode 100644 (file)
index 0000000..904c25b
Binary files /dev/null and b/org.tizen.web.apireference/html/images/rectangular_moreoption.png differ
diff --git a/org.tizen.web.apireference/html/images/rectangular_multibtn.png b/org.tizen.web.apireference/html/images/rectangular_multibtn.png
new file mode 100644 (file)
index 0000000..dcc92b8
Binary files /dev/null and b/org.tizen.web.apireference/html/images/rectangular_multibtn.png differ
diff --git a/org.tizen.web.apireference/html/images/rectangular_processing.png b/org.tizen.web.apireference/html/images/rectangular_processing.png
new file mode 100644 (file)
index 0000000..5a8d4f7
Binary files /dev/null and b/org.tizen.web.apireference/html/images/rectangular_processing.png differ
diff --git a/org.tizen.web.apireference/html/images/rectangular_progress.png b/org.tizen.web.apireference/html/images/rectangular_progress.png
new file mode 100644 (file)
index 0000000..8e4fe9b
Binary files /dev/null and b/org.tizen.web.apireference/html/images/rectangular_progress.png differ
diff --git a/org.tizen.web.apireference/html/images/rectangular_snap.png b/org.tizen.web.apireference/html/images/rectangular_snap.png
new file mode 100644 (file)
index 0000000..608da36
Binary files /dev/null and b/org.tizen.web.apireference/html/images/rectangular_snap.png differ
diff --git a/org.tizen.web.apireference/html/images/rectangular_thumbnail.png b/org.tizen.web.apireference/html/images/rectangular_thumbnail.png
new file mode 100644 (file)
index 0000000..a55f907
Binary files /dev/null and b/org.tizen.web.apireference/html/images/rectangular_thumbnail.png differ
diff --git a/org.tizen.web.apireference/html/images/round_footer.png b/org.tizen.web.apireference/html/images/round_footer.png
new file mode 100644 (file)
index 0000000..6b677ec
Binary files /dev/null and b/org.tizen.web.apireference/html/images/round_footer.png differ
diff --git a/org.tizen.web.apireference/html/images/round_header.png b/org.tizen.web.apireference/html/images/round_header.png
new file mode 100644 (file)
index 0000000..2b5bb06
Binary files /dev/null and b/org.tizen.web.apireference/html/images/round_header.png differ
diff --git a/org.tizen.web.apireference/html/images/round_index.png b/org.tizen.web.apireference/html/images/round_index.png
new file mode 100644 (file)
index 0000000..d7cad3c
Binary files /dev/null and b/org.tizen.web.apireference/html/images/round_index.png differ
diff --git a/org.tizen.web.apireference/html/images/round_moreoption.png b/org.tizen.web.apireference/html/images/round_moreoption.png
new file mode 100644 (file)
index 0000000..079c156
Binary files /dev/null and b/org.tizen.web.apireference/html/images/round_moreoption.png differ
diff --git a/org.tizen.web.apireference/html/images/round_multibtn.png b/org.tizen.web.apireference/html/images/round_multibtn.png
new file mode 100644 (file)
index 0000000..d8dcd9d
Binary files /dev/null and b/org.tizen.web.apireference/html/images/round_multibtn.png differ
diff --git a/org.tizen.web.apireference/html/images/round_processing.png b/org.tizen.web.apireference/html/images/round_processing.png
new file mode 100644 (file)
index 0000000..030ef40
Binary files /dev/null and b/org.tizen.web.apireference/html/images/round_processing.png differ
diff --git a/org.tizen.web.apireference/html/images/round_progress.png b/org.tizen.web.apireference/html/images/round_progress.png
new file mode 100644 (file)
index 0000000..cda62f9
Binary files /dev/null and b/org.tizen.web.apireference/html/images/round_progress.png differ
diff --git a/org.tizen.web.apireference/html/images/round_snap.png b/org.tizen.web.apireference/html/images/round_snap.png
new file mode 100644 (file)
index 0000000..38fa003
Binary files /dev/null and b/org.tizen.web.apireference/html/images/round_snap.png differ
diff --git a/org.tizen.web.apireference/html/images/round_thumbnail.png b/org.tizen.web.apireference/html/images/round_thumbnail.png
new file mode 100644 (file)
index 0000000..40211e3
Binary files /dev/null and b/org.tizen.web.apireference/html/images/round_thumbnail.png differ
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/circular_support.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/circular_support.htm
new file mode 100755 (executable)
index 0000000..9c449c5
--- /dev/null
@@ -0,0 +1,156 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head>
+  <script type="text/javascript" src="../../snippet.js"></script>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <link href="../../styles.css" rel="StyleSheet" type="text/css" />
+  <link href="../../snippet.css" rel="StyleSheet" type="text/css" />
+  <title>Application Page Layout</title>
+ </head>
+ <body onload="prettyPrint()" id="content">
+
+<h1>Support for Round UI</h1>
+<p>Tizen Wearable Web UI Framework supports different types of devices(rectangle and circle) with the same application.
+<br><br>To support round UI along with rectangular UI, media query is required.</p>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       <li><a href="#apply">How to apply round UI</a></li>
+       <li><a href="#inCss">How to override css style for round UI using media query</a></li>
+       <li><a href="#inJs">How to write code selectively for round UI in JS</a></li>
+       <li><a href="#components">Support guide for UI components</a></li>
+</ol>
+
+<h2><a id="apply"></a>How to apply round UI</h2>
+<p>In order to support the round UI, you need to do the following.<br>
+<br>&nbsp;&nbsp;1. Include the link tag for the latest "tau.css" file into &lt;head&gt; part in HTML.
+<br>&nbsp;&nbsp;&nbsp; ( <b>Note</b> : For the compatibility with rectangular UI, you must use the latest version of TAU library. )<br>
+<br>&nbsp;&nbsp;2. Include the link tag for the latest "tau.circle.css" file with media query feature "-tizen-geometric-shape: circle" next to the link tag for the "tau.css".
+<br>&nbsp;&nbsp;&nbsp; ( <b>Note</b> : Adding the "tau.circle.css" file following the general "tau.css" file will cover the additional round UI. )<br>
+<br>&nbsp;&nbsp;3. Include the link tag for the latest "tau.js" script file at the end of &lt;body&gt; part of HTML.<br>
+<br>&nbsp;&nbsp;4. For writing separate code for round UI in JS, you can use "tau.support.shape.circle" property.<br>
+
+<pre class="prettyprint">
+&lt;head name=&quot;viewport&quot; content=&quot;width=device-width, user-scalable=no&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;Support for round UI&lt;/title&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;link rel=&quot;stylesheet&quot; href=&quot;tau.css&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- CSS media query on a link element --&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;link rel=&quot;stylesheet&quot; media=&quot;all and (-tizen-geometric-shape: circle)&quot; href=&quot;tau.circle.css&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;link rel=&quot;stylesheet&quot; href=&quot;css/stlye.css&quot;&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;...
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;script type=&quot;text/javascript&quot; src=&quot;tau.js&quot;&gt;&lt;/script&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;script&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (tau.support.shape.circle) {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* implement your codes for round UI here */
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} else {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* implement your codes for rectangular UI here */
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
+&nbsp;&nbsp;&nbsp;&nbsp;&lt;/script&gt;
+&lt;/body&gt;
+</pre>
+
+<p>The following figure shows an example of how media query("-tizen-geometric-shape: circle") would work in different devices.</p>
+<p class="figure"> Figure: apply to rectangular device and round device with media query</p>
+       <p style="text-align:center;">
+       <img src="../../../images/circular_support.png" />
+</p><br>
+
+<h2><a id="inCss"></a>How to override css style for round UI using media query</h2>
+<p>In order for some styles to be applied selectively, you can use media query feature "-tizen-geometric-shape" with "rectangle" or "circle" value.<p>
+
+<h3>Media query feature for Tizen devices</h3>
+
+<p>Media query in Tizen Wearable Web UI Framework utilizes "-tizen-geometric-shape" feature with "rectangle" or "circle" value to distinguish type difference.</p>
+&nbsp;&nbsp;( <b>Note</b> : "-tizen-geometric-shape" feature is only available in Tizen devices. )
+
+<table>
+       <caption>Table: Description for "-tizen-geometric-shape" feature.</caption>
+<tbody>
+       <tr>
+               <th colspan="2">-tizen-geometric-shape</th>
+       </tr>
+               <td>Value</td>
+               <td>rectangle | circle</td>
+       </tr>
+       <tr>
+               <td>Applied to</td>
+               <td>Visual media types</td>
+       </tr>
+       <tr>
+               <td>Accept min/max prefixes</td>
+               <td>No</td>
+       </tr>
+</tbody>
+</table><br>
+
+<pre class="prettyprint">
+.className {
+       /* implement basic css style for rectangular UI here */
+}
+
+@media screen and (-tizen-geometric-shape: circle) {
+       .className      {
+               /* implement css style to be overridden for round UI here */
+       }
+}
+</pre><br>
+
+<h2><a id="inJs"></a>How to write code selectively for round UI in JS</h2>
+<p>Tizen Wearable Web UI FW provides the property "tau.support.shape.circle" that checks whether the type is circle or not. If you want implement code selectively for round UI and rectangular UI, you can use the property with boolean value.</p>
+&nbsp;&nbsp;( <b>Note</b> : For developing in a browser environment, this property is always set true when "tau.circle.css" is loaded. )<p>
+
+<pre class="prettyprint">
+if (tau.support.shape.circle) {
+       /* implement your codes for round UI here */
+} else {
+       /* implement your codes for rectangular UI here */
+}
+</pre><br>
+
+<h2><a id="components"></a>Support guide for UI components</h2>
+<p>The following is how to use both rectangular UI components and round UI components.<br>
+
+<h3>Index of UI Components</h3>
+<ol class="toc">
+       <li><a href="./components/snaplist.htm">List</a></li>
+       <p>How to support list<p>
+       <li><a href="./components/expandableheader.htm">Header</a></li>
+       <p>How to support header<p>
+       <li><a href="./components/indexscroll.htm">Index Scroll Bar</a></li>
+       <p>How to support index scroll bar<p>
+       <li><a href="./components/progress.htm">Circle Progress Bar</a></li>
+       <p>How to support circle progress bar<p>
+       <li><a href="./components/processing.htm">Processing</a></li>
+       <p>How to support processing<p>
+       <li><a href="./components/moreoptions.htm">More Options</a></li>
+       <p>How to support more options button<p>
+       <li><a href="./components/footerbutton.htm">Footer Button</a></li>
+       <p>How to support footer buttons<p>
+       <li><a href="./components/thumbnail.htm">Thumbnail</a></li>
+       <p>How to support thumbnail<p>
+</ol>
+
+<h2>Where to Go Next</h2>
+<ul>
+<li><a href="../index.htm">Tizen Wearable Web UI Framework Reference</a></li></ul>
+
+ <div id="footer">
+   <hr size="1" />
+   <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
+  </div>
+
+  <script type="text/javascript">
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-25976949-1']);
+_gaq.push(['_trackPageview']);
+(function() {
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
+</script>
+
+ </body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/expandableheader.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/expandableheader.htm
new file mode 100755 (executable)
index 0000000..1545aa9
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../../snippet.js"></script>
+       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+       <link href="../../../styles.css" rel="StyleSheet" type="text/css" />
+       <link href="../../../snippet.css" rel="StyleSheet" type="text/css" />
+       <title>How to support Header</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>How to support Header</h1>
+
+Header in Round UI is expandable. In order to support the expandable header, you can use TAU helper script.<p>
+More informations for <a href="../../helper/helper.htm">helper script</a> are here.<p>
+The following explains how to implement the expandable header.<p>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       <li><a href="#layout">Layout</a></li>
+       <li><a href="#htmlCode">HTML code</a></li>
+       <li><a href="#jsCode">Javascript code</a></li>
+</ol>
+
+<h2><a id='layout'></a>Layout</h2>
+
+<table>
+       <tbody>
+               <tr>
+                       <td><img src="../../../../images/rectangular_header.png" /></td>
+                       <td><img src="../../../../images/round_header.png" /></td>
+               </tr>
+               <tr>
+                       <td align="center">in Rectangular UI</td>
+                       <td align="center">in Round UI</td>
+               </tr>
+       </tbody>
+</table>
+
+<h2><a id='htmlCode'></a>HTML code</h2>
+
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;headerPage&quot; &gt;
+       &lt;header class=&quot;ui-header&quot; id=&quot;myHeader&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Long title with ExpandableHeader&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div class=&quot;ui-content content-padding&quot;&gt;
+               Header is expandable in Round UI.
+       &lt;/div&gt;
+&lt;/div&gt;
+</pre>
+
+<h2><a id='jsCode'></a>Javascript code</h2>
+
+<pre class="prettyprint">
+var page = document.querySelector(&quot;#headerPage&quot;),
+
+page.addEventListener( &quot;pagebeforeshow&quot;, function() {
+       var header = document.getElementById(&quot;myHeader&quot;),
+               headerHelper;
+
+       if(tau.support.shape.circle) {
+               headerHelper = tau.helper.ExpandableHeaderMarqueeStyle.create(header, {});
+       }
+});
+</pre>
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="../circular_support.htm">Support for round UI</a></li>
+
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/footerbutton.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/footerbutton.htm
new file mode 100755 (executable)
index 0000000..134ad17
--- /dev/null
@@ -0,0 +1,211 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../../snippet.js"></script>
+       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+       <link href="../../../styles.css" rel="StyleSheet" type="text/css" />
+       <link href="../../../snippet.css" rel="StyleSheet" type="text/css" />
+       <title>How to support Footer Button</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>How to support Footer Button</h1>
+
+The following explains how to make the footer button which can support both rectangular UI and round UI.<p>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       <li><a href="#layout">Layout</a></li>
+       <li><a href="#htmlCode">HTML code</a></li>
+       <li><a href="#cssCode">CSS code</a></li>
+       <li><a href="#layout2">Layout (multiple buttons)</a></li>
+       <li><a href="#htmlCode2">HTML code (multiple buttons)</a></li>
+       <li><a href="#cssCode2">CSS code (multiple buttons)</a></li>
+       <li><a href="#jsCode">Javascript code (multiple buttons)</a></li>
+</ol>
+
+<h2><a id='layout'></a>Layout</h2>
+
+<table>
+       <tbody>
+               <tr>
+                       <td><img src="../../../../images/rectangular_footer.png"/></td>
+                       <td><img src="../../../../images/round_footer.png"/></td>
+               </tr>
+               <tr>
+                       <td align="center">in Rectangular UI</td>
+                       <td align="center">in Round UI</td>
+               </tr>
+       </tbody>
+</table><br>
+
+<p>Bottom button of round UI has "ui-bottom-button" class.</p>
+
+<h2><a id='htmlCode'></a>HTML code</h2>
+
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;bottomButtonPage&quot; &gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Bottom Button&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div class=&quot;ui-content content-padding&quot;&gt;
+               It was a real pleasure for me to finally get to meet you. My colleagues join me in sending you our holiday greetings.
+       &lt;/div&gt;
+       &lt;footer class=&quot;my-footer ui-footer ui-bottom-button ui-fixed&quot;&gt;
+               &lt;a href=&quot;#&quot; class=&quot;ui-btn my-button&quot;&gt;Button&lt;/a&gt;
+       &lt;/footer&gt;
+&lt;/div&gt;
+</pre>
+
+<h2><a id='cssCode'></a>CSS code</h2>
+
+<pre class="prettyprint">
+@media all and (-tizen-geometric-shape: circle) {
+       .my-footer .my-button::before {
+               -webkit-mask-image: url(/*path of the image*/);
+       }
+}
+</pre>
+
+<h2><a id='layout2'></a>Layout (multiple buttons)</h2>
+
+<table>
+       <tbody>
+               <tr>
+                       <td><img src="../../../../images/rectangular_multibtn.png"/></td>
+                       <td><img src="../../../../images/round_multibtn.png"/></td>
+               </tr>
+               <tr>
+                       <td align="center">in Rectangular UI</td>
+                       <td align="center">in Round UI</td>
+               </tr>
+       </tbody>
+</table><br>
+
+<p>When there are multiple buttons, the buttons except for the first button use drawer in round UI.</p>
+
+<h2><a id='htmlCode2'></a>HTML code (multiple buttons)</h2>
+
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;bottomButtonWithMorePage&quot; &gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Multiple Buttons&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div class=&quot;ui-content content-padding&quot;&gt;
+               It was a real pleasure for me to finally get to meet you. My colleagues join me in sending you our holiday greetings.
+       &lt;/div&gt;
+
+       &lt;a class=&quot;drawer-handler&quot;&gt;&lt;/a&gt;
+
+       &lt;!-- Circle Profile --&gt;
+       &lt;div id=&quot;moreoptionsDrawer&quot; class=&quot;ui-drawer drawer-elem&quot; data-drawer-target=&quot;#bottomButtonWithMorePage&quot; data-position=&quot;right&quot; data-enable=&quot;true&quot; data-drag-edge=&quot;1&quot;&gt;
+               &lt;div id=&quot;moreoptionsSectionChanger&quot; class=&quot;ui-section-changer&quot;&gt;
+                       &lt;div&gt;
+                               &lt;section&gt;
+                                       &lt;button class=&quot;option-button&quot;&gt;2&lt;/button&gt;
+                               &lt;/section&gt;
+                               &lt;section&gt;
+                                       &lt;button class=&quot;option-button&quot;&gt;3&lt;/button&gt;
+                               &lt;/section&gt;
+                       &lt;/div&gt;
+               &lt;/div&gt;
+       &lt;/div&gt;
+
+       &lt;footer class=&quot;ui-footer ui-grid-col-3 ui-bottom-button&quot;&gt;
+               &lt;a href=&quot;#&quot; class=&quot;ui-btn&quot;&gt;1&lt;/a&gt;
+               &lt;a href=&quot;#&quot; class=&quot;ui-btn&quot;&gt;2&lt;/a&gt;
+               &lt;a href=&quot;#&quot; class=&quot;ui-btn&quot;&gt;3&lt;/a&gt;
+       &lt;/footer&gt;
+&lt;/div&gt;
+</pre>
+
+<h2><a id='cssCode2'></a>CSS code (multiple buttons)</h2>
+
+<pre class="prettyprint">
+.drawer-elem {
+       display: none;
+}
+
+@media all and (-tizen-geometric-shape: circle) {
+    .drawer-handler {
+        width:24px;
+        height: 115px;
+        position: fixed;
+        top: 122px;
+        right: 0;
+        color: transparent;
+        background-color: #a4a4a4;
+        -webkit-mask-image: url(/*path of the image*/);
+        -webkit-mask-size: 18px 36px;
+        -webkit-mask-repeat: no-repeat;
+        -webkit-mask-position: 0 40px;
+    }
+    .drawer-elem {
+               display: block;
+               background-color: rgba(255, 255, 255, 0.1);
+               border-radius: 100%;
+       }
+       .sections,
+       .options {
+               text-align: center;
+       }
+       .option-button {
+               width: 158px;
+               height: 158px;
+               background-color: #a4a4a4;
+               position: relative;
+               left: 50%;
+               transform: translate3d(-50%, -50%, 0);
+               top: 50%;
+               border-radius: 50%;
+               border: none;
+               text-align: center;
+               line-height: 158px;
+               -webkit-appearance: none;
+       }
+
+    .ui-btn::before {
+        left: 50%;
+       transform: translate3d(-50%, 0, 0);
+        -webkit-mask-image: url(/*path of the image*/);
+    }
+
+    .ui-bottom-button a + a {
+        display: none;
+    }
+}
+</pre>
+
+<h2><a id='jsCode'></a>Javascript code (multiple buttons)</h2>
+
+<pre class="prettyprint">
+(function(){
+       var page = document.querySelector("#bottomButtonWithMorePage"),
+               drawer = page.querySelector("#moreoptionsDrawer"),
+               handler = page.querySelector(".ui-more");
+
+       page.addEventListener( "pagebeforeshow", function() {
+               if (tau.support.shape.circle) {
+                       tau.helper.DrawerMoreStyle.create(drawer, {
+                               handler: ".drawer-handler",
+                       });
+               }
+       });
+})();
+</pre>
+
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="../circular_support.htm">Support for round UI</a></li>
+
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/indexscroll.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/indexscroll.htm
new file mode 100755 (executable)
index 0000000..bcdcd20
--- /dev/null
@@ -0,0 +1,195 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../../snippet.js"></script>
+       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+       <link href="../../../styles.css" rel="StyleSheet" type="text/css" />
+       <link href="../../../snippet.css" rel="StyleSheet" type="text/css" />
+       <title>How to support Index Scroll Bar</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>How to support Index Scroll Bar</h1>
+
+Round UI provides circular index scroll bar component.
+<p>Refer to the following for supporting the circular index scroll bar.
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       <li><a href="#layout">Layout</a></li>
+       <li><a href="#htmlCode">HTML code</a></li>
+       <li><a href="#jsCode">Javascript code</a></li>
+</ol>
+
+<h2><a id='layout'></a>Layout</h2>
+
+<table>
+       <tbody>
+               <tr>
+                       <td><img src="../../../../images/rectangular_index.png" /></td>
+                       <td><img src="../../../../images/round_index.png" /></td>
+               </tr>
+               <tr>
+                       <td align="center">in Rectangular UI</td>
+                       <td align="center">in Round UI</td>
+               </tr>
+       </tbody>
+</table>
+
+<h2><a id='htmlCode'></a>HTML code</h2>
+
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;pageIndexScrollbar&quot; &gt;
+       &lt;header class=&quot;ui-header ui-header-small&quot;&gt;
+               &lt;h2 class=&quot;ui-title ui-title-text-fadeout&quot;&gt;Index Scroll Bar&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div id=&quot;indexscrollbar&quot;&gt;&lt;/div&gt;
+       &lt;section class=&quot;ui-content&quot;&gt;
+               &lt;ul class=&quot;ui-listview ui-snap-listview&quot; id=&quot;list1&quot;&gt;
+                       &lt;li class=&quot;li-divider&quot;&gt;A&lt;/li&gt;
+                       &lt;li&gt;Anton&lt;/li&gt;
+                       &lt;li class=&quot;li-divider&quot;&gt;B&lt;/li&gt;
+                       &lt;li&gt;Barry&lt;/li&gt;
+                       &lt;li&gt;Bob&lt;/li&gt;
+                       &lt;li class=&quot;li-divider&quot;&gt;C&lt;/li&gt;
+                       &lt;li&gt;Carry&lt;/li&gt;
+                       &lt;li class=&quot;li-divider&quot;&gt;D&lt;/li&gt;
+                       &lt;li&gt;Daisy&lt;/li&gt;
+                       &lt;li class=&quot;li-divider&quot;&gt;E&lt;/li&gt;
+                       &lt;li&gt;Eric&lt;/li&gt;
+                       &lt;li class=&quot;li-divider&quot;&gt;F&lt;/li&gt;
+                       &lt;li&gt;Fay&lt;/li&gt;
+                       &lt;li class=&quot;li-divider&quot;&gt;G&lt;/li&gt;
+                       &lt;li&gt;Garry&lt;/li&gt;
+               &lt;/ul&gt;
+       &lt;/section&gt;
+&lt;/div&gt;
+</pre>
+
+<h2><a id='jsCode'></a>Javascript code</h2>
+
+<p><b>How to create a component selectively</b><p>
+
+<pre class="prettyprint">
+var indexScrollbarElement = document.getElementById("indexscrollbar");
+
+if (!tau.support.shape.circle) {
+       // Create IndexScrollbar
+       indexScrollbar = new tau.widget.IndexScrollbar(indexScrollbarElement);
+} else {
+       // Create CircularIndexScrollbar
+       indexScrollbar = new tau.widget.CircularIndexScrollbar(indexScrollbarElement);
+}
+</pre>
+
+<p><b>How to use callback</b><p>
+<pre class="prettyprint">
+indexScrollbarElement.addEventListener("select", function( event ) {
+       var index = event.detail.index;
+       // do something using the index
+       console.log(index);
+});
+</pre>
+
+<p>In the following example, the list scrolls to the position of the list item defined using
+the li-divider class, selected by the index scroll bar:<br>
+(Note : In rectangular UI, touching index generates the select, but in round UI, the select occurs when using rotary.)<p>
+
+<pre class="prettyprint">
+(function() {
+       var page = document.getElementById("pageIndexScrollbar"),
+               isCircle = tau.support.shape.circle,
+               scrollHandlers = {},
+               indexScrollbar;
+
+       page.addEventListener("pageshow", function(ev) {
+               var indexScrollbarElement = document.getElementById("indexscrollbar"),
+                       listviewElement = document.getElementById("list1"),     // list
+                       listDividers = listviewElement.getElementsByClassName("li-divider"),    // list dividers
+                       dividers = {},  // collection of list dividers
+                       indices = [],   // index list
+                       scroller,
+                       divider,
+                       i, idx;
+
+               // For all list dividers,
+               for(i = 0; i < listDividers.length; i++) {
+                       // Add the list divider elements to the collection
+                       divider = listDividers[i];
+                       idx = divider.innerText;
+                       dividers[idx] = divider;
+
+                       // Add the index to the index list
+                       indices.push(idx);
+               }
+
+               scroller = tau.util.selectors.getScrollableParent(listviewElement);
+
+               if (!isCircle) {
+                       // Create IndexScrollbar
+                       indexScrollbar = new tau.widget.IndexScrollbar(indexScrollbarElement, {index: indices, container: scroller});
+               } else {
+                       // Create CircularIndexScrollbar
+                       indexScrollbar = new tau.widget.CircularIndexScrollbar(indexScrollbarElement, {index: indices});
+
+                       // scroll event handlers
+                       scrollHandlers = {
+                               start: function () {
+                                       if (!indexScrollbar.isShow()) {
+                                               indexScrollbar.hideHandler();
+                                       }
+                               },
+                               end: function () {
+                                       if (!indexScrollbar.isShow()) {
+                                               indexScrollbar.showHandler();
+                                       }
+                               }
+                       };
+
+                       listviewElement.addEventListener("scrollstart", scrollHandlers.start);
+                       listviewElement.addEventListener("scrollend", scrollHandlers.end);
+               }
+
+
+               // Add SnapListview item "selected" event handler.
+               listviewElement.addEventListener("selected", function (ev) {
+                       var indexValue = ev.target.textContent[0];
+                       indexScrollbar.value(indexValue);
+               });
+
+               // Add IndexScrollbar index "select" event handler.
+               indexScrollbarElement.addEventListener("select", function (ev) {
+                       var divider,
+                               idx = ev.detail.index;
+                       divider = dividers[idx];
+                       if(divider && scroller) {
+                               // Scroll to the li-divider element
+                               scroller.scrollTop = divider.offsetTop - scroller.offsetTop;
+                       }
+               });
+       });
+
+       page.addEventListener("pagehide", function(ev) {
+               if (isCircle) {
+                       listviewElement.removeEventListener("scrollstart", scrollHandlers.start);
+                       listviewElement.removeEventListener("scrollend", scrollHandlers.end);
+               }
+               indexScrollbar.destroy();
+       });
+} ());
+</pre>
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="../circular_support.htm">Support for round UI</a></li>
+
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/moreoptions.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/moreoptions.htm
new file mode 100755 (executable)
index 0000000..9a5342c
--- /dev/null
@@ -0,0 +1,160 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../../snippet.js"></script>
+       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+       <link href="../../../styles.css" rel="StyleSheet" type="text/css" />
+       <link href="../../../snippet.css" rel="StyleSheet" type="text/css" />
+       <title>How to support More options</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>How to support More options</h1>
+
+In rectangular UI, you can implement more options using button and popup components.<p>
+Round UI provides drawer and its helper for more options button.<p>
+More informations for <a href="../../helper/helper.htm">helper script</a> are here.<p>
+The following explains how to make the more options for Round UI.<p>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       <li><a href="#layout">Layout</a></li>
+       <li><a href="#htmlCode">HTML code</a></li>
+       <li><a href="#cssCode">CSS code</a></li>
+       <li><a href="#jsCode">Javascript code</a></li>
+</ol>
+
+<h2><a id='layout'></a>Layout</h2>
+
+<table>
+       <tbody>
+               <tr>
+                       <td><img src="../../../../images/rectangular_moreoption.png" /></td>
+                       <td><img src="../../../../images/round_moreoption.png" /></td>
+               </tr>
+               <tr>
+                       <td align="center">in Rectangular UI</td>
+                       <td align="center">in Round UI</td>
+               </tr>
+       </tbody>
+</table>
+
+<h2><a id='htmlCode'></a>HTML code</h2>
+
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;moreoptionsPage&quot; &gt;
+       &lt;header class=&quot;ui-header ui-has-more&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;More options&lt;/h2&gt;
+               &lt;button type=&quot;button&quot; class=&quot;ui-more ui-icon-overflow&quot;&gt;More Options&lt;/button&gt;
+       &lt;/header&gt;
+       &lt;div class=&quot;ui-content content-padding&quot;&gt;
+               It was a real pleasure for me to finally get to meet you. My colleagues join me in sending you our holiday greetings.
+       &lt;/div&gt;
+               &lt;!-- Rectangular Profile --&gt;
+       &lt;div id=&quot;moreoptionsPopup&quot; class=&quot;ui-popup&quot; data-transition=&quot;slideup&quot;&gt;
+               &lt;div class=&quot;ui-popup-header&quot;&gt;Options&lt;/div&gt;
+               &lt;div class=&quot;ui-popup-content&quot;&gt;
+                       &lt;ul class=&quot;ui-listview&quot;&gt;
+                               &lt;li&gt;&lt;a href=&quot;#&quot;&gt;1&lt;/a&gt;&lt;/li&gt;
+                               &lt;li&gt;&lt;a href=&quot;#&quot;&gt;2&lt;/a&gt;&lt;/li&gt;
+                               &lt;li&gt;&lt;a href=&quot;#&quot;&gt;3&lt;/a&gt;&lt;/li&gt;
+                       &lt;/ul&gt;
+               &lt;/div&gt;
+       &lt;/div&gt;
+               &lt;!-- Circle Profile --&gt;
+       &lt;div id=&quot;moreoptionsDrawer&quot; class=&quot;ui-drawer&quot; data-drawer-target=&quot;#moreoptionsPage&quot; data-position=&quot;right&quot; data-enable=&quot;true&quot; ata-drag-edge=&quot;1&quot;&gt;
+               &lt;div id=&quot;moreoptionsSectionChanger&quot; class=&quot;ui-section-changer&quot;&gt;
+                       &lt;div&gt;
+                               &lt;section&gt;
+                                       &lt;button class=&quot;option-button&quot;&gt;1&lt;/button&gt;
+                               &lt;/section&gt;
+                               &lt;section&gt;
+                                       &lt;button class=&quot;option-button&quot;&gt;2&lt;/button&gt;
+                               &lt;/section&gt;
+                               &lt;section&gt;
+                                       &lt;button class=&quot;option-button&quot;&gt;3&lt;/button&gt;
+                               &lt;/section&gt;
+                       &lt;/div&gt;
+               &lt;/div&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+</pre>
+
+<h2><a id='cssCode'></a>CSS code</h2>
+
+<pre class="prettyprint">
+#moreoptionsDrawer {
+       display: none;
+}
+
+@media all and (-tizen-geometric-shape: circle) {
+       #moreoptionsDrawer {
+               display: block;
+               background-color: rgba(255, 255, 255, 0.1);
+               border-radius: 100%;
+       }
+       #moreoptionsPopup {
+               display: none;
+       }
+       .sections,
+       .options {
+               text-align: center;
+       }
+       .option-button {
+               width: 158px;
+               height: 158px;
+               background-color: #a4a4a4;
+               position: relative;
+               left: 50%;
+               transform: translate3d(-50%, -50%, 0);
+               top: 50%;
+               border-radius: 50%;
+               border: none;
+               text-align: center;
+               line-height: 158px;
+               -webkit-appearance: none;
+       }
+}
+</pre>
+
+<h2><a id='jsCode'></a>Javascript code</h2>
+
+<pre class="prettyprint">
+(function(){
+       var page = document.querySelector(&quot;#moreoptionsPage&quot;),
+               popup = page.querySelector(&quot;#moreoptionsPopup&quot;),
+               drawer = page.querySelector(&quot;#moreoptionsDrawer&quot;),
+               handler = page.querySelector(".ui-more");
+
+       page.addEventListener( &quot;pagebeforeshow&quot;, function() {
+               var popupWidget;
+
+               if (tau.support.shape.circle) {
+                       tau.helper.DrawerMoreStyle.create(drawer, {
+                               handler: &quot;.ui-more&quot;,
+                       });
+               } else {
+                       // Shape is rectangle
+                       popupWidget = tau.widget.Popup(popup);
+                       tau.event.on(handler, &quot;click&quot;, function(e){
+                               popupWidget.open();
+                       }, false);
+               }
+       });
+})();
+</pre>
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="../circular_support.htm">Support for round UI</a></li>
+
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/processing.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/processing.htm
new file mode 100755 (executable)
index 0000000..0a03429
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../../snippet.js"></script>
+       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+       <link href="../../../styles.css" rel="StyleSheet" type="text/css" />
+       <link href="../../../snippet.css" rel="StyleSheet" type="text/css" />
+       <title>How to support Processing</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>How to support Processing</h1>
+
+Round UI provides full size processing component.
+<p>The following explains how to support the full size processing component with former processing component.<p>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       <li><a href="#layout">Layout</a></li>
+       <li><a href="#htmlCode">HTML code</a></li>
+       <li><a href="#cssCode">CSS code</a></li>
+</ol>
+
+<h2><a id='layout'></a>Layout</h2>
+
+<table>
+       <tbody>
+               <tr>
+                       <td><img src="../../../../images/rectangular_processing.png" /></td>
+                       <td><img src="../../../../images/round_processing.png" /></td>
+               </tr>
+               <tr>
+                       <td align="center">in Rectangular UI</td>
+                       <td align="center">in Round UI</td>
+               </tr>
+       </tbody>
+</table>
+
+<h2><a id='htmlCode'></a>HTML code</h2>
+
+<pre class="prettyprint">
+&lt;header class=&quot;ui-header&quot;&gt;
+       &lt;h2 class=&quot;ui-title&quot;&gt;Processing&lt;/h2&gt;
+&lt;/header&gt;
+&lt;div class=&quot;ui-content content-padding&quot;&gt;
+       &lt;div class=&quot;ui-processing&quot;&gt;&lt;/div&gt;
+       &lt;div class=&quot;ui-processing-text&quot;&gt;
+                       Description about progress
+       &lt;/div&gt;
+&lt;/div&gt;
+&lt;div class=&quot;ui-processing ui-processing-full-size&quot;&gt;&lt;/div&gt;
+</pre>
+
+<h2><a id='cssCode'></a>CSS code</h2>
+
+<pre class="prettyprint">
+.ui-processing-full-size {
+       display: none;
+}
+
+@media all and (-tizen-geometric-shape: circle) {
+       .ui-processing {
+               display: none;
+       }
+       .ui-processing.ui-processing-full-size {
+               display: block;
+       }
+}
+</pre>
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="../circular_support.htm">Support for round UI</a></li>
+
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/progress.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/progress.htm
new file mode 100644 (file)
index 0000000..897f41b
--- /dev/null
@@ -0,0 +1,206 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../../snippet.js"></script>
+       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+       <link href="../../../styles.css" rel="StyleSheet" type="text/css" />
+       <link href="../../../snippet.css" rel="StyleSheet" type="text/css" />
+       <title>How to support Circle Progress Bar</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>How to support Circle Progress Bar</h1>
+
+Round UI provides full size circle progress bar component.
+<p>The following explains how to support the full size circle progress bar component with rotary event in round UI.<p>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       <li><a href="#layout">Layout</a></li>
+       <li><a href="#htmlCode">HTML code</a></li>
+       <li><a href="#cssCode">CSS code</a></li>
+       <li><a href="#jsCode">Javascript code</a></li>
+</ol>
+
+<h2><a id='layout'></a>Layout</h2>
+
+<table>
+       <tbody>
+               <tr>
+                       <td><img src="../../../../images/rectangular_progress.png" /></td>
+                       <td><img src="../../../../images/round_progress.png" /></td>
+               </tr>
+               <tr>
+                       <td align="center">in Rectangular UI</td>
+                       <td align="center">in Round UI</td>
+               </tr>
+       </tbody>
+</table>
+
+<h2><a id='htmlCode'></a>HTML code</h2>
+
+<pre class="prettyprint">
+&lt;header class=&quot;ui-header&quot;&gt;
+       &lt;h2 class=&quot;ui-title&quot;&gt;Circle Progress&lt;/h2&gt;
+&lt;/header&gt;
+&lt;div class=&quot;ui-content content-padding&quot;&gt;
+       &lt;div class=&quot;result&quot; id=&quot;result&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+&lt;footer class=&quot;ui-footer ui-grid-col-2&quot;&gt;
+       &lt;a href=&quot;#&quot; class=&quot;ui-btn&quot; id=&quot;minus&quot;&gt;-10%&lt;/a&gt;
+       &lt;a href=&quot;#&quot; class=&quot;ui-btn&quot; id=&quot;plus&quot;&gt;+10%&lt;/a&gt;
+&lt;/footer&gt;
+&lt;progress class=&quot;ui-circle-progress&quot; id=&quot;circleprogress&quot; max=&quot;100&quot; value=&quot;20&quot;&gt;&lt;/progress&gt;
+</pre>
+
+<h2><a id='cssCode'></a>CSS code</h2>
+
+<pre class="prettyprint">
+.ui-progressbar-large {
+       position: absolute;
+       top: 50%;
+       left: 50%;
+       -webkit-transform: translate3d(-50%, -50%, 0);
+}
+.result {
+       font-size:35px;
+       text-align:center;
+       top: 33%;
+       left: 50%;
+       -webkit-transform: translate3d(-50%, -50%, 0);
+       position: absolute;
+}
+
+@media all and (-tizen-geometric-shape: circle) {
+       .result {
+               top: 50%;
+               margin: 0;
+       }
+       .ui-footer {
+               display: none;
+       }
+}
+</pre>
+
+<h2><a id='jsCode'></a>Javascript code</h2>
+
+<pre class="prettyprint">
+(function(){
+       var page = document.getElementById( "pageCircleProgressBar" ),
+       progressBar = document.getElementById("circleprogress"),
+       minusBtn = document.getElementById("minus"),
+       plusBtn = document.getElementById("plus"),
+       resultDiv = document.getElementById("result"),
+       isCircle = tau.support.shape.circle,
+       progressBarWidget,
+       resultText,
+       i;
+
+       function printResult() {
+               resultText = progressBarWidget.value();
+               resultDiv.innerHTML = resultText + "%";
+       };
+
+       function clearVariables() {
+               page = null;
+               progressBar = null;
+               minusBtn = null;
+               plusBtn = null;
+               resultDiv = null;
+       };
+
+       function unbindEvents() {
+               page.removeEventListener("pageshow", pageBeforeShowHandler);
+               page.removeEventListener("pagehide", pageHideHandler);
+               if (isCircle) {
+                       document.removeEventListener("rotarydetent", rotaryDetentHandler);
+               } else {
+                       minusBtn.removeEventListener("click", minusBtnClickHandler);
+                       plusBtn.removeEventListener("click", plusBtnClickHandler);
+               }
+       };
+
+       function minusBtnClickHandler() {
+               i = i-10;
+               if (i < 0) {
+                       i=0;
+               }
+               progressBarWidget.value(i);
+               printResult();
+       };
+
+       function plusBtnClickHandler() {
+               i = i+10;
+               if (i > 100) {
+                       i=100;
+               }
+               progressBarWidget.value(i);
+               printResult();
+       };
+
+       function rotaryDetentHandler() {
+               // Get rotary direction
+               var direction = event.detail.direction,
+               value = parseInt(progressBarWidget.value());
+
+               if (direction === "CW") {
+                       // Right direction
+                       if (value < 100) {
+                               value++;
+                       } else {
+                               value = 100;
+                       }
+               } else if (direction === "CCW") {
+                       // Left direction
+                       if (value > 0) {
+                               value--;
+                       } else {
+                               value = 0;
+                       }
+               }
+
+               progressBarWidget.value(value);
+               printResult();
+       }
+
+       function pageBeforeShowHandler() {
+               if (isCircle) {
+               // make Circle Progressbar object
+                       progressBarWidget = new tau.widget.CircleProgressBar(progressBar, {size: "full"});
+                       document.addEventListener("rotarydetent", rotaryDetentHandler);
+               } else {
+                       progressBarWidget = new tau.widget.CircleProgressBar(progressBar, {size: "large"});
+                       minusBtn.addEventListener("click", minusBtnClickHandler);
+                       plusBtn.addEventListener("click", plusBtnClickHandler);
+               }
+
+               i = parseInt(progressBarWidget.value());
+               resultDiv.innerHTML = i + "%";
+       };
+
+       function pageHideHandler() {
+               unbindEvents();
+               clearVariables();
+               // release object
+               progressBarWidget.destroy();
+       };
+
+       page.addEventListener("pagebeforeshow", pageBeforeShowHandler);
+       page.addEventListener("pagehide", pageHideHandler);
+}());
+</pre>
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="../circular_support.htm">Support for round UI</a></li>
+
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/snaplist.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/snaplist.htm
new file mode 100755 (executable)
index 0000000..0e203eb
--- /dev/null
@@ -0,0 +1,157 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../../snippet.js"></script>
+       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+       <link href="../../../styles.css" rel="StyleSheet" type="text/css" />
+       <link href="../../../snippet.css" rel="StyleSheet" type="text/css" />
+       <title>How to support List</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>How to support List</h1>
+
+Round UI has snap list component. You can implement the snap list with marquee component using the helper.<p>
+More informations for <a href="../../helper/helper.htm">helper script</a> are here.<p>
+The following explains how to implement list which can support both rectangular UI and round UI.<p>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       <li><a href="#layout">Layout</a></li>
+       <li><a href="#htmlCode">HTML code</a></li>
+       <li><a href="#cssCode">CSS code</a></li>
+       <li><a href="#jsCode">Javascript code</a></li>
+</ol>
+
+<h2><a id='layout'></a>Layout</h2>
+
+<table>
+       <tbody>
+               <tr>
+                       <td><img src="../../../../images/rectangular_snap.png" /></td>
+                       <td><img src="../../../../images/round_snap.png" /></td>
+               </tr>
+               <tr>
+                       <td align="center">in Rectangular UI</td>
+                       <td align="center">in Round UI</td>
+               </tr>
+       </tbody>
+</table>
+
+<h2><a id='htmlCode'></a>HTML code</h2>
+
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;snapListPage&quot; &gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Snap List&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div class=&quot;ui-content&quot;&gt;
+               &lt;ul class=&quot;ui-listview ui-snap-listview expand-list&quot; id=&quot;snapList&quot;&gt;
+                       &lt;li class=&quot;li-has-3line&quot;&gt;
+                               &lt;div class=&quot;ui-marquee ui-marquee-gradient&quot;&gt;1.3line SnapListview with Marquee SnapListview with Marquee&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                       &lt;/li&gt;
+                       &lt;li class=&quot;li-has-3line&quot;&gt;
+                               &lt;div class=&quot;ui-marquee ui-marquee-gradient&quot;&gt;2.3line SnapListview with Marquee SnapListview with Marquee&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                       &lt;/li&gt;
+                       &lt;li class=&quot;li-has-3line&quot;&gt;
+                               &lt;div class=&quot;ui-marquee ui-marquee-gradient&quot;&gt;3.3line SnapListview with Marquee SnapListview with Marquee&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                       &lt;/li&gt;
+                       &lt;li class=&quot;li-has-3line&quot;&gt;
+                               &lt;div class=&quot;ui-marquee ui-marquee-gradient&quot;&gt;4.3line SnapListview with Marquee SnapListview with Marquee&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                       &lt;/li&gt;
+                       &lt;li class=&quot;li-has-3line&quot;&gt;
+                               &lt;div class=&quot;ui-marquee ui-marquee-gradient&quot;&gt;5.3line SnapListview with Marquee SnapListview with Marquee&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                       &lt;/li&gt;
+               &lt;/ul&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+</pre>
+
+<h2><a id='cssCode'></a>CSS code</h2>
+
+<pre class="prettyprint">
+.ui-listview li .li-text-sub {
+       display: block;
+       text-overflow: ellipsis;
+       overflow: hidden;
+       line-height: 32px;
+       color: rgb(51, 51, 51);
+}
+
+.ui-listview li.li-has-3line {
+       padding-top: 9px;
+       padding-bottom: 10px;
+       height: 128px;
+}
+
+.ui-listview.expand-list li.li-has-3line .ui-marquee{
+       -webkit-transform: translate3d(0, 30px, 0);
+}
+
+.ui-listview.expand-list li.li-has-3line.ui-snap-listview-selected .ui-marquee{
+       -webkit-transform: translate3d(0, 0, 0);
+       -webkit-transition: all ease 1s;
+}
+
+.ui-listview.expand-list li.li-has-3line .ui-li-sub-text:nth-child(2){
+       -webkit-transform: translate3d(0, -10px, 0);
+       opacity: 0;
+}
+
+.ui-listview.expand-list li.li-has-3line.ui-snap-listview-selected .ui-li-sub-text:nth-child(2){
+       -webkit-transform: translate3d(0, 0, 0);
+       opacity: 1;
+       -webkit-transition: all ease 1s;
+}
+
+.ui-listview.expand-list li.li-has-3line .ui-li-sub-text:last-child{
+       -webkit-transform: translate3d(0, -42px, 0);
+       opacity: 0;
+}
+
+.ui-listview.expand-list li.li-has-3line.ui-snap-listview-selected .ui-li-sub-text:last-child{
+       -webkit-transform: translate3d(0, 0, 0);
+       opacity: 1;
+       -webkit-transition: all ease 1s;
+}
+</pre>
+
+<h2><a id='jsCode'></a>Javascript code</h2>
+
+<pre class="prettyprint">
+var page = document.querySelector(&quot;#snapListPage&quot;),
+
+page.addEventListener( &quot;pagebeforeshow&quot;, function() {
+       var list = document.getElementById(&quot;snapList&quot;),
+               listHelper;
+
+       if(tau.support.shape.circle) {
+               listHelper = tau.helper.SnapListMarqueeStyle.create(list, {marqueeDelay: 1});
+       }
+});
+</pre>
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="../circular_support.htm">Support for round UI</a></li>
+
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/thumbnail.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/circular_support/components/thumbnail.htm
new file mode 100755 (executable)
index 0000000..ab48837
--- /dev/null
@@ -0,0 +1,134 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../../snippet.js"></script>
+       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+       <link href="../../../styles.css" rel="StyleSheet" type="text/css" />
+       <link href="../../../snippet.css" rel="StyleSheet" type="text/css" />
+       <title>How to support Thumbnail</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>How to support Thumbnail</h1>
+
+Round UI provides circle shaped thumbnail.<p>
+The following explains how to implement the thumbnail which can support both rectangular UI and round UI.<p>
+
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       <li><a href="#layout">Layout</a></li>
+       <li><a href="#htmlCode">HTML code</a></li>
+       <li><a href="#cssCode">CSS code</a></li>
+       <li><a href="#jsCode">Javascript code</a></li>
+</ol>
+
+<h2><a id='layout'></a>Layout</h2>
+
+<table>
+       <tbody>
+               <tr>
+                       <td><img src="../../../../images/rectangular_thumbnail.png" /></td>
+                       <td><img src="../../../../images/round_thumbnail.png" /></td>
+               </tr>
+               <tr>
+                       <td align="center">in Rectangular UI</td>
+                       <td align="center">in Round UI</td>
+               </tr>
+       </tbody>
+</table>
+
+<h2><a id='htmlCode'></a>HTML code</h2>
+
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;sectionChangerPage&quot; data-enable-page-scroll=&quot;false&quot; &gt;
+       &lt;div id=&quot;sectionChanger&quot; class=&quot;ui-content ui-section-changer&quot;&gt;
+               &lt;div id=&quot;scroller&quot;&gt;
+                       &lt;section class=&quot;ui-section-active&quot;&gt;
+                               &lt;div class=&quot;thumbnail&quot;&gt;1&lt;/div&gt;
+                       &lt;/section&gt;
+                       &lt;section&gt;
+                               &lt;div class=&quot;thumbnail&quot;&gt;2&lt;/div&gt;
+                       &lt;/section&gt;
+                       &lt;section&gt;
+                               &lt;div class=&quot;thumbnail&quot;&gt;3&lt;/div&gt;
+                       &lt;/section&gt;
+               &lt;/div&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+</pre>
+
+<h2><a id='cssCode'></a>CSS code</h2>
+
+<pre class="prettyprint">
+section {
+       padding: 0 10px 0 10px;
+       height: 100%;
+}
+.thumbnail {
+       height: 300px;
+       width: 200px;
+       background-color: #80482f;
+       top: 50%;
+       transform: translate3d(0, -50%, 0);
+       position: relative;
+       text-align: center;
+       line-height: 300px;
+}
+.ui-section-active .thumbnail{
+       background-color: #000000;
+       border: 1px solid #a06322;
+}
+
+@media all and (-tizen-geometric-shape: circle) {
+       section {
+               padding: 0;
+       }
+       .thumbnail {
+               height: 200px;
+               width: 200px;
+               border-radius: 50%;
+               background-color: #802532;
+               top: 50%;
+               position: relative;
+               text-align: center;
+               line-height: 200px;
+               transform: scale(0.8) translate3d(0, -60%, 0);
+               transition: transform 300ms;
+       }
+       .ui-section-active .thumbnail{
+               transform: scale(1) translate3d(0, -50%, 0);
+       }
+}
+</pre>
+
+<h2><a id='jsCode'></a>Javascript code</h2>
+
+<pre class="prettyprint">
+(function(){
+       var page = document.getElementById("sectionChangerPage"),
+               sectionChanger = document.getElementById("sectionChanger");
+
+       page.addEventListener( "pagebeforeshow", function() {
+               tau.widget.SectionChanger(sectionChanger, {
+                       orientation: "horizontal",
+                       fillContent: false
+               });
+       });
+})();
+</pre>
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="../circular_support.htm">Support for round UI</a></li>
+
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
old mode 100644 (file)
new mode 100755 (executable)
index 95ae118..a885da4
 <p>Drag event is a set of events that are triggered when the user drags on a gesture-enabled element. The following table defines the triggered events.
 </p>
 
+<h2>Table of Contents</h2>
+<ol class="toc">
+               <li><a href="#dragevent">Drag Events</a></li>
+
+               <li><a href="#dragevent-option">Options</a></li>
+
+               <li><a href="#example">Example</a></li>
+</ol>
+
+
+<h2><a id='dragevent'></a>Drag Events</h2><p>
+
 <table>
-       <caption>Table: Drag events</caption>
 <tbody>
        <tr>
                <th>Event</th>
 </tbody>
 </table>
 
-<p>The following table describes the supported drag event options.</p>
-
+<h2><a id='dragevent-option'></a>Options</h2><p>
 <table>
-       <caption>Table: Drag event options</caption>
 <tbody>
        <tr>
                <th>Option</th>
 </table>
 
 
-<p>To use a drag event in the application, use the following code:</p>
+<h2><a id='example'></a>Example</h2><p>
+<p>The following shows how to use drag events.</p>
+
+<h3>HTML</h3>
+
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;pageDrag&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Drag Event&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div id=&quot;content&quot; class=&quot;ui-content content-padding&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+</pre>
+
+<h3>Javascript</h3>
+
 <pre class="prettyprint">
-var element = document.getElementById(&quot;test_el&quot;);
-tau.event.enableGesture(element, new tau.event.gesture.Drag(
-{
-&nbsp;&nbsp;&nbsp;blockVertical: true
-}));
-
-element.addEventListener(&quot;dragstart&quot;, function(e) 
-{
-&nbsp;&nbsp;&nbsp;console.log(&quot;dragstart&quot;);
-});
-
-element.addEventListener(&quot;drag&quot;, function(e) 
-{
-&nbsp;&nbsp;&nbsp;console.log(&quot;direction = &quot; + e.detail.direction);
-});
+(function() {
+       var page = document.getElementById("pageDrag");
+       page.addEventListener("pagebeforeshow", function() {
+               var content = document.getElementById("content");
+               tau.event.enableGesture(content, new tau.event.gesture.Drag({
+                       blockVertical: true
+               }));
+
+               content.addEventListener("dragstart", function(e) {
+                       console.log("drag start");
+               });
+
+               content.addEventListener("drag", function(e) {
+                       console.log("direction = " + e.detail.direction);
+               });
+
+               content.addEventListener("dragend", function(e) {
+                       console.log("drag end");
+               });
+       });
+}());
 </pre>
 
+
+<h2>Where to Go Next</h2>
+<ul>
+<li><a href="gesture.htm">Gesture Events</a></li></ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index d905e35..d2d4d25
  <body onload="prettyPrint()" id="content"> 
 
 <h1>Events</h1>
-<p>The Web UI framework (called as <b>TAU</b>; Tizen Advanced UI framework) provides events optimized for the Tizen Web application. The following table displays the events provided by the Tizen wearable Web UI framework.
+<p>The Tizen Advanced UI (TAU) framework provides events optimized for the Tizen Web application. The following table displays the events provided by the TAU framework.
 </p>
 
 <table>
-       <caption>Table: Tizen wearable Web UI framework events</caption>
+       <caption>Table: TAU events</caption>
 <tbody>
        <tr>
                <th>Event Group</th>
 </tbody>
 </table>
 
+
+<h2>Where to Go Next</h2>
+<ul>
+<li><a href="../index.htm">Tizen Wearable Web UI Framework Reference</a></li></ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 5ee3a74..72fcb77
  <body onload="prettyPrint()" id="content"> 
 
 <h1>Gesture Events</h1>
-<p>The Web UI framework provides gesture events optimized for the Tizen Web application. The following table displays the gesture events provided by the Tizen wearable Web UI framework.
-</p>
+<p>The Tizen Advanced UI (TAU) framework provides gesture events optimized for the Tizen Web application.<p>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+               <li><a href="#event">Gesture Events</a></li>
+
+               <li><a href="#method">Methods</a></li>
+
+               <li><a href="#detail">Event Detail Data</a></li>
+</ol>
+
+<h2><a id='event'></a>Gesture Events</h2><p>
 
 <table>
-       <caption>Table: Gesture events</caption>
 <tbody>
        <tr>
                <th style="width:10%;">Gesture</th>
      </tbody> 
     </table>
 
+<h2><a id='method'></a>Methods</h2><p>
+
 <p>The following table describes custom gesture event-related methods.</p>
 
 <table>
-       <caption>Table: Event methods</caption>
 <tbody>
        <tr>
                <th>Method</th>
 
 <p>To use a custom event, use the following code:</p>
 <pre class="prettyprint">
-var element = document.getElementById(&quot;test_el&quot;);
+/* element is your event target element */
 tau.event.enableGesture(element, new tau.event.gesture.Drag(), new tau.event.gesture.Swipe());
-element.addEventListener(&quot;drag&quot;, function(e) 
-{
-&nbsp;&nbsp;&nbsp;console.log(&quot;drag event fired&quot;);
-} );
-element.addEventListener(&quot;swipe&quot;, function(e) 
-{
-&nbsp;&nbsp;&nbsp;console.log(&quot;swipe event fired&quot;);
-} );
+element.addEventListener(&quot;drag&quot;, function(e) {
+       console.log(&quot;drag event fired&quot;);
+});
+element.addEventListener(&quot;swipe&quot;, function(e) {
+       console.log(&quot;swipe event fired&quot;);
+});
 </pre>
 
-<p>The following table displays the custom event detail data.</p>
+
+<h2><a id='detail'></a>Event Detail Data</h2><p>
+<p>TAU gesture events have "detail" object. "detail" contains informations for the events.</p>
 
 <table>
-       <caption>Table: Custom event data</caption>
 <tbody>
        <tr>
                <th>Property</th>
@@ -160,6 +169,12 @@ element.addEventListener(&quot;swipe&quot;, function(e)
 </tbody>
 </table>
 
+
+
+<h2>Where to Go Next</h2>
+<ul>
+<li><a href="events.htm">Events</a></li></ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 01e4d8b..d680019
 <p>Swipe event is triggered when the user swipes on a gesture-enabled element. The following table defines the triggered event.
 </p>
 
+<h2>Table of Contents</h2>
+<ol class="toc">
+               <li><a href="#swipeevent">Swipe Event</a></li>
+
+               <li><a href="#swipeevent-option">Options</a></li>
+
+               <li><a href="#example">Example</a></li>
+</ol>
+
+<h2><a id='swipeevent'></a>Swipe Event</h2><p>
+
 <table>
-       <caption>Table: Swipe event</caption>
 <tbody>
        <tr>
                <th>Event</th>
 </tbody>
 </table>
 
-<p>The following table describes the supported swipe event options.</p>
-
+<h2><a id='swipeevent-option'></a>Options</h2><p>
 <table>
-       <caption>Table: Swipe event options</caption>
 <tbody>
        <tr>
                <th>Option</th>
 </table>
 
 
-<p>To use a swipe event in the application, use the following code:</p>
+<h2><a id='example'></a>Example</h2><p>
+<p>The following shows how to use swipe events.</p>
+<h3>HTML</h3>
+
 <pre class="prettyprint">
-var element = document.getElementById(&quot;test_el&quot;);
-tau.event.enableGesture(element, new tau.event.gesture.Swipe(
-{
-&nbsp;&nbsp;&nbsp;orientation: &quot;horizontal&quot;
-}));
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;pageSwipe&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Swipe Event&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div id=&quot;content&quot; class=&quot;ui-content content-padding&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+</pre>
+
+<h3>Javascript</h3>
+
+<pre class="prettyprint">
+(function() {
+       var page = document.getElementById("pageSwipe");
+       page.addEventListener("pagebeforeshow", function() {
+               var content = document.getElementById("content");
+               tau.event.enableGesture(content, new tau.event.gesture.Swipe( {
+                  orientation: "horizontal"
+               }));
 
-element.addEventListener(&quot;swipe&quot;, function(e) 
-{
-&nbsp;&nbsp;&nbsp;console.log(&quot;swipe  = &quot; + e.detail.direction);
-});
+               content.addEventListener("swipe", function(e) {
+                  console.log("swipe direction = " + e.detail.direction);
+               });
+       });
+}());
 </pre>
 
+<h2>Where to Go Next</h2>
+<ul>
+<li><a href="gesture.htm">Gesture Events</a></li></ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/helper/helper.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/helper/helper.htm
new file mode 100755 (executable)
index 0000000..1c19534
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head> 
+  <script type="text/javascript" src="../../snippet.js"></script> 
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+  <link href="../../styles.css" rel="StyleSheet" type="text/css" /> 
+  <link href="../../snippet.css" rel="StyleSheet" type="text/css" /> 
+  <title>Helper Scripts</title> 
+ </head> 
+ <body onload="prettyPrint()" id="content"> 
+
+<h1>Helper Scripts</h1>
+<p>Tizen Advanced UI (TAU) framework provides helper script to support some creating usable components for the Web applications.
+</p>
+
+<table>
+       <caption>Table: TAU helper script</caption>
+<tbody>
+       <tr>
+               <th>Namespace of Helper</th>
+               <th>Description</th>
+       </tr>
+       <tr>
+               <td><a href="helper_listmarqueestyle.htm">SnapListMarqueeStyle</a></td>
+               <td>Provides creating marquee-able and expandable list style with SnapListview.</td>
+       </tr>
+</tbody>
+</table>
+
+<p>You can use TAU helper as follows:</p>
+
+<pre class="prettyprint">&lt;script&gt;
+ var helperInstance = tau.helper.<i>NameSpace</i>
+&lt;/script&gt;
+</pre>
+
+
+<h2>Where to Go Next</h2>
+<ul>
+<li><a href="../index.htm">Tizen Wearable Web UI Framework Reference</a></li></ul>
+
+ <div id="footer"> 
+   <hr size="1" /> 
+   <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
+  </div> 
+   
+  <script type="text/javascript">
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-25976949-1']);
+_gaq.push(['_trackPageview']);
+(function() {
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
+</script> 
+    
+ </body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/helper/helper_listmarqueestyle.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/helper/helper_listmarqueestyle.htm
new file mode 100755 (executable)
index 0000000..29b5cfb
--- /dev/null
@@ -0,0 +1,294 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../snippet.js"></script>
+       <meta http-equiv="content-type" content="text/html; charset=utf-8">
+       <link href="../../styles.css" rel="StyleSheet" type="text/css">
+       <link href="../../snippet.css" rel="StyleSheet" type="text/css">
+       <title>SnapListMarqueeStyle</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>SnapListMarqueeStyle</h1>
+
+SnapListMarqueeStyle helper provides helper script to support some creating usable components for list style.
+<br>It supports making listview  more effective using <a href="../widgets/widget_snaplistview.htm">SnapListview</a> and <a href="../widgets/widget_marquee.htm">Marquee</a> component.
+
+<table class="note">
+        <tbody>
+        <tr>
+                <th class="note">Note</th>
+        </tr>
+        <tr>
+                <td class="note">This helper script is supported since <strong>2.3</strong>.</td>
+        </tr>
+        </tbody>
+</table>
+
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       
+               <li><a href="#default-selectors0.06779201747849584">How to create SnapListMarqueeStyle</a>
+                       
+               </li>
+
+               <li><a href="#options-list">Options</a></li>
+               <li><a href="#methods-list">Methods</a></li>
+       
+</ol>
+
+<h2><a id='default-selectors0.06779201747849584'></a>How to create SnapListMarqueeStyle</h2>
+
+<p>You can make your own style listview with SnapListMarqueeStyle as the following.</p>
+In this example, text of list item scrolls horizontally and the sub text appears if the list item is placed in the middle of the screen.
+
+<h3>HTML Example</h3>
+
+<p>You can add a multiline style listview as follows:</p>
+
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;snaplistTest&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Bottom Button&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div class=&quot;ui-content&quot;&gt;
+               &lt;ul class=&quot;ui-listview ui-snap-listview expand-list&quot; id=&quot;snapList&quot;&gt;
+                       &lt;li class=&quot;li-has-2line&quot;&gt;
+                               &lt;div class=&quot;ui-marquee ui-marquee-gradient&quot;&gt;1.SnapListview with Marquee SnapListview with Marquee&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                       &lt;/li&gt;
+                       &lt;li class=&quot;li-has-2line&quot;&gt;
+                               &lt;div class=&quot;ui-marquee ui-marquee-gradient&quot;&gt;2.SnapListview with Marquee SnapListview with Marquee&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                       &lt;/li&gt;
+                       &lt;li class=&quot;li-has-2line&quot;&gt;
+                               &lt;div class=&quot;ui-marquee ui-marquee-gradient&quot;&gt;3.SnapListview with Marquee SnapListview with Marquee&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                       &lt;/li&gt;
+                       &lt;li class=&quot;li-has-2line&quot;&gt;
+                               &lt;div class=&quot;ui-marquee ui-marquee-gradient&quot;&gt;4.SnapListview with Marquee SnapListview with Marquee&lt;/div&gt;
+                               &lt;div class=&quot;li-text-sub ui-li-sub-text&quot;&gt;sub-text&lt;/div&gt;
+                       &lt;/li&gt;
+               &lt;/ul&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+</pre>
+
+<h3>CSS Style Example</h3>
+
+<p>In CSS code, you can make your list animation style as follows:</p>
+<pre class="prettyprint">.ui-listview.expand-list li.li-has-2line .ui-marquee{
+       -webkit-transform: translate3d(0, 16px, 0);
+       -webkit-transition: all ease .5s;
+}
+.ui-listview.expand-list li.li-has-2line.ui-snap-listview-selected .ui-marquee{
+       -webkit-transform: translate3d(0, 0, 0);
+       -webkit-transition: all ease 1s;
+}
+
+.ui-listview.expand-list li.li-has-2line .ui-li-sub-text{
+       -webkit-transform: translate3d(0, -20px, 0);
+       opacity: 0;
+       -webkit-transition: all ease .5s;
+}
+.ui-listview.expand-list li.li-has-2line.ui-snap-listview-selected .ui-li-sub-text{
+       -webkit-transform: translate3d(0, 0, 0);
+       opacity: 1;
+       -webkit-transition: all ease 1s;
+}
+</pre>
+
+<h3>Javascript Example</h3>
+
+<p>In javascript code, you can make your list as SnapListview component as follows:</p>
+<pre class="prettyprint">&lt;script&gt;
+var page = document.getElementById("snaplistTest"),
+    list = document.getElementById("snapList"),
+    listHelper;
+
+page.addEventListener( "pageshow", function() {
+    listHelper = tau.helper.SnapListMarqueeStyle.create(list, {marqueeDelay: 1000});
+});
+
+page.addEventListener( "pagehide", function() {
+    listHelper.destroy();
+});
+&lt;/script&gt;
+</pre>
+
+
+       <h2><a id="options-list"></a>Options</h2>
+
+       <table>
+               <tbody>
+               <tr>
+                       <th>Option</th>
+                       <th>Input type</th>
+                       <th>Default value</th>
+                       <th>Description</th>
+               </tr>
+
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">marqueeDelay</span></td>
+                               <td class="option">number</td>
+                               <td class="option">0</td>
+                               <td class="option">Sets the delay time for marquee component. The unit of time is millisecond.</td>
+                       </tr>
+               
+               </tbody>
+       </table>
+
+<h2><a id="methods-list"></a>Methods</h2>
+
+       <h3>Summary</h3>
+       <table class="informaltable">
+               <thead>
+               <tr>
+                       <th>Method</th>
+                       <th>Description</th>
+               </tr>
+               </thead>
+               <tbody>
+               
+                       
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint"><a href="#method-value">create</a> (  ) </pre>
+                                       </td>
+                                       <td><p>Create related components for SnapListMarqueeStyle.</p></td>
+                               </tr>
+                       
+               
+               </tbody>
+       </table>
+       <dl>
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-value">create</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Create related components for SnapListMarqueeStyle.</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">tau.helper.SnapListMarqueeStyle.create( HTMLElement, options ) </pre>
+                                       </div>
+                                       
+                                               <p><span class="version">Since: </span>
+                                                       2.3
+                                               </p>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       <p>SnapListMarqueeStyle Object.</p>
+
+
+                                               </p>
+                                       </div>
+                                       
+                                       
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                                       <table>
+                                                               <tbody>
+                                                               <tr>
+                                                                       <th>Type</th>
+                                                                       <th>Description</th>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td>object</td>
+                                                                       <td>SnapListMarqueeStyle</td>
+                                                               </tr>
+                                                               </tbody>
+                                                       </table>
+                                               
+                                               
+                                       </div>
+                                       
+                                               <div class="example">
+                                                       <span class="example"><p>Code
+                                                               example:</p><p></p></span>
+                                                       <pre name="code" class="examplecode
+                                                       prettyprint">&lt;ul class="ui-listview ui-snap-listview" id="snapList"&gt;
+ &lt;li&gt;some element or text&lt;/li&gt;
+&lt;/ul&gt;
+
+&lt;script&gt;
+    var list = document.getElementById("snapList"),
+       listHelper;
+    
+    // create helper
+    listHelper = tau.helper.SnapListMarqueeStyle.create(list, {marqueeDelay: 1000});
+&lt;/script&gt;
+</pre>
+                                               </div>
+                                       
+                               </dd>
+<dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-value">destroy</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Destroy related components for SnapListMarqueeStyle.</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">destroy ( ) </pre>
+                                       </div>
+                                       
+                                               <p><span class="version">Since: </span>
+                                                       2.3
+                                               </p>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       <p>No return value</p>
+
+
+                                               </p>
+                                       </div>
+                                                                               
+                                               <div class="example">
+                                                       <span class="example"><p>Code
+                                                               example:</p><p></p></span>
+                                                       <pre name="code" class="examplecode
+                                                       prettyprint">&lt;ul class="ui-listview ui-snap-listview" id="snapList"&gt;
+ &lt;li&gt;some element or text&lt;/li&gt;
+&lt;/ul&gt;
+
+&lt;script&gt;
+    var list = document.getElementById("snapList"),
+       listHelper;
+    
+    // create helper
+    listHelper = tau.helper.SnapListMarqueeStyle.create(list, {marqueeDelay: 1000});
+    // destroy helper
+    listHelper.destroy();
+&lt;/script&gt;
+</pre>
+                                               </div>
+                                       
+                               </dd>
+                       
+               
+               </dl>
+
+
+
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="./helper.htm">Helper Scripts</a></li>
+       
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
old mode 100644 (file)
new mode 100755 (executable)
index 0c33c9f..58e98c1
@@ -5,23 +5,27 @@
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
   <link href="../styles.css" rel="StyleSheet" type="text/css" /> 
   <link href="../snippet.css" rel="StyleSheet" type="text/css" /> 
-  <title>Tizen Wearable Web UI Framework Reference</title>
+  <title>Tizen Wearable Web UI Framework Reference</title> 
  </head> 
  <body onload="prettyPrint()" id="content"> 
 
 <h1>Tizen Wearable Web UI Framework Reference</h1>
 
-<p><b>The Web UI framework is called Tizen Advanced UI (TAU) framework.</b> The Web UI framework is used for page navigation and developing applications based on the Tizen wearable themes.</p>
+<p>Tizen wearable Web UI framework is used for page navigation and developing applications based on the Tizen wearable themes.</p>
 
-<p>The Web UI Framework in wearable Web applications consists of the followings:</p>
+<p>The framework consists of the following services:</p>
 <ul>
        <li>Page navigation
-       <p>Navigation JavaScript library is provided to allow smooth navigation between Tizen wearable application <a href="page/app_page_layout.htm">pages</a>.
+       <p>Navigation JavaScript library is provided to allow smooth navigation between Tizen wearable application <a href="page/app_page_layout.htm">pages</a>. 
        </p></li>
        <li>Web theme
-       <p>CSS themes and resources (compatible with the UI component source code) are available for Tizen Wearable Web <a href="widgets/widget_reference.htm">UI components</a>.</p></li>
+       <p>CSS themes and resources (compatible with the UI Component source code) are available for Tizen Wearable Web <a href="widgets/widget_reference.htm">UI Components</a>.</p></li>
        <li>Element events
-       <p>The Tizen Wearable Web UI Framework provides <a href="event/events.htm">events</a> optimized for the Web applications. </p></li>
+       <p>Tizen Advanced UI (TAU) framework provides <a href="event/events.htm">events</a> optimized for the Web applications. </p></li>
+       <li>Helper scripts
+       <p>Tizen Advanced UI (TAU) framework provides <a href="helper/helper.htm">helper script</a> to support some creating usable components for the Web applications. </p></li>
+       <li>Support for Round UI
+       <p>Tizen Advanced UI (TAU) framework provides <a href="circular_support/circular_support.htm">Support for Round UI</a> with media query. </p></li>
 </ul>
 
 <table class="note"> 
        <th class="note">Note</th> 
       </tr> 
       <tr> 
-       <td class="note"><p>The Web UI Framework runs only on browsers supporting the HTML5/CSS standards. The draft version of the W3C specification is not fully supported.</p></td> 
+       <td class="note"><p>The framework runs only on browsers supporting the HTML5/CSS standards. The draft version of the W3C specification is not fully supported.</p></td> 
       </tr> 
      </tbody> 
     </table>
 
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="../api_reference.htm">API References</a></li>
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index d989306..5b9e2e4
@@ -10,7 +10,7 @@
  <body onload="prettyPrint()" id="content"> 
 
 <h1>Application Page Layout</h1>
-<p>In the Web UI framework (called as <b>TAU</b>; Tizen Advanced UI framework) for Wearable Web Applications, the application page structure is based on a header and content elements:</p>
+<p>In the Tizen wearable Web UI framework, the application page structure is based on a header and content elements:</p>
 <ul><li>
 <p>The header is placed at the top, and displays the page title.</p></li>
 <li><p> The content is the section below the header, showing the main content of the page.</p></li></ul>
 <li><a href="page_event.htm">Handle page events</a></li>
 </ul>
 
+<h2>Where to Go Next</h2>
+<ul>
+<li><a href="../index.htm">Tizen Wearable Web UI Framework Reference</a></li></ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index b830eb0..44ab5f4
@@ -19,22 +19,37 @@ You can link to internal pages by referring to the ID of the page. For example,
 <pre class="prettyprint">
 &lt;!--Main page--&gt;
 &lt;div id=&quot;one&quot; class=&quot;ui-page ui-page-active&quot;&gt;
-&nbsp;&nbsp;&nbsp;&lt;header class=&quot;ui-header&quot;&gt;&lt;/header&gt;
+&nbsp;&nbsp;&nbsp;&lt;header class=&quot;ui-header&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2 class=&quot;ui-title&quot;&gt;First Page&lt;/h2&gt;
+&nbsp;&nbsp;&nbsp;&lt;/header&gt;
 &nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-content&quot;&gt;&lt;/div&gt;
-&nbsp;&nbsp;&nbsp;&lt;footer class=&quot;ui-footer&quot;&gt;&lt;/footer&gt;
+&nbsp;&nbsp;&nbsp;&lt;footer class=&quot;ui-footer&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href=&quot;#two&quot; class=&quot;ui-btn&quot;&gt;to second page&lt;/a&gt;
+&nbsp;&nbsp;&nbsp;&lt;/footer&gt;
 &lt;/div&gt;
 
 &lt;!--Secondary page--&gt;
-&lt;div id=&quot;two&quot; class=&quot;ui-page&quot;&gt;
-&nbsp;&nbsp;&nbsp;&lt;header class=&quot;ui-header&quot;&gt;&lt;/header&gt;
+&lt;div id=&quot;two&quot; class=&quot;ui-page ui-page-active&quot;&gt;
+&nbsp;&nbsp;&nbsp;&lt;header class=&quot;ui-header&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2 class=&quot;ui-title&quot;&gt;Second Page&lt;/h2&gt;
+&nbsp;&nbsp;&nbsp;&lt;/header&gt;
 &nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-content&quot;&gt;&lt;/div&gt;
-&nbsp;&nbsp;&nbsp;&lt;footer class=&quot;ui-footer&quot;&gt;&lt;/footer&gt;
+&nbsp;&nbsp;&nbsp;&lt;footer class=&quot;ui-footer&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href=&quot;#one&quot; class=&quot;ui-btn&quot;&gt;to first page&lt;/a&gt;
+&nbsp;&nbsp;&nbsp;&lt;/footer&gt;
 &lt;/div&gt;
 </pre>
 
 <p>
 To find the currently active page, use the <span style="font-family: Courier New,Courier,monospace">ui-page-active</span> class.</p>
 
+
+
+
+<h2>Where to Go Next</h2>
+<ul>
+<li><a href="app_page_layout.htm">Application Page Layout</a></li></ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index f89e222..bad3b55
@@ -57,12 +57,18 @@ tau.defaults.pageTransition = &quot;slideup&quot;;
        </tr>
 <tr>
                <td><span style="font-family: Courier New,Courier,monospace">pop</span></td>
-               <td>Makes the content of the next page pop, appearing to conceal the content of the previous page.</td>
+               <td>Makes the content of the next page pop, appearing to conceal the content of the previous page.<br>In round UI, this is default.</td>
        </tr>
        
 </tbody>
 </table>
 
+
+
+<h2>Where to Go Next</h2>
+<ul>
+<li><a href="app_page_layout.htm">Application Page Layout</a></li></ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 8f8f9e0..cdb3ab1
@@ -25,7 +25,7 @@
        </tr>
        <tr>
                <td><span style="font-family: Courier New,Courier,monospace">pagecreate</span></td>
-               <td>Triggered when the page has been created in the DOM (for example, through Ajax) but before all UI components have had an opportunity to enhance the contained markup.</td>
+               <td>Triggered when the page has been created in the DOM (for example, through Ajax) but before all UI Components have had an opportunity to enhance the contained markup.</td>
        </tr>
        <tr>
                <td><span style="font-family: Courier New,Courier,monospace">pagebeforeshow</span></td>
 <p>To bind an event callback on the <strong>Back</strong> key, use the following code:</p>
 
 <pre class="prettyprint">/* JavaScript code */
-window.addEventListener(&#39;tizenhwkey&#39;, function(ev) 
-{
-&nbsp;&nbsp;&nbsp;if (ev.keyName === &quot;back&quot;) 
-&nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Call window.history.back() to go to previous browser window */
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Call tizen.application.getCurrentApplication().exit() to exit application */
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Add script to add another behavior */
-&nbsp;&nbsp;&nbsp;}
-}
+(function () {
+&nbsp;&nbsp;&nbsp;window.addEventListener(&#39;tizenhwkey&#39;, function(ev) {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (ev.keyName === &quot;back&quot;) {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var page = document.getElementsByClassName("ui-page-active")[0],
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pageid = page ? page.id : "";
+
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ( pageid === "main" ) {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Call tizen.application.getCurrentApplication().exit() to exit application */
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tizen.application.getCurrentApplication().exit();
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} catch (ignore) {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Add script to add another behavior */
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} else {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Call window.history.back() to go to previous browser window */
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;window.history.back();
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
+&nbsp;&nbsp;&nbsp;});
+})();
 </pre>
 
+
+
+<h2>Where to Go Next</h2>
+<ul>
+<li><a href="app_page_layout.htm">Application Page Layout</a></li></ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 65fe6c1..71176c1
@@ -11,7 +11,7 @@
 
 <h1>Button</h1>
 
-<p>The button component shows on the screen a control that you can use to generate an action event when it is pressed and released. The component is coded with standard HTML anchor and input elements.</p>
+<p>The button component shows on the screen a control that you can use to generate an action event when it is pressed and released.<br> The component is coded with standard HTML anchor and input elements.</p>
 <p>The following table describes the supported button classes.</p>
 <table>
 <caption>Table: Button type classes</caption>
                <td><span style="font-family: Courier New,Courier,monospace">ui-btn</span></td>
                <td>Creates the element as a button component.</td>
        </tr>
-               <tr>
-               <td><span style="font-family: Courier New,Courier,monospace">ui-icon-*</span></td>
-               <td>Creates an icon button in the header area. In the content or footer area, icon images are not supported. 
-               <p>To use this icon class, prefix the class with <span style="font-family: Courier New,Courier,monospace">ui-more</span> in the <span style="font-family: Courier New,Courier,monospace">button</span> element:
-<pre class="prettyprint">
-&lt;button type=&quot;button&quot; class=&quot;ui-more ui-icon-overflow&quot;&gt;More Options&lt;/button&gt;
-</pre>
-               <p>Tizen supports 3 predefined icon CSS styles for wearable applications:</p>
-<ul><li><span style="font-family: Courier New,Courier,monospace">ui-icon-detail</span> <img alt="ui icon detail" src="../../../images/ui_icon_detail.png" />
-</li> 
-<li><span style="font-family: Courier New,Courier,monospace">ui-icon-overflow</span> <img alt="ui icon overflow" src="../../../images/ui_icon_overflow.png" />
-</li>
-<li><span style="font-family: Courier New,Courier,monospace">ui-icon-selectall</span> <img alt="ui icon selectall" src="../../../images/ui_icon_selectall.png" />
-</li></ul></td>
-       </tr>
        <tr>
                <td><span style="font-family: Courier New,Courier,monospace">ui-btn-icon</span></td>
                <td><p>Creates an icon button.</p>
@@ -64,7 +49,8 @@
 </tbody>
 </table>
 
-<p>To add a button component to the application, use the following code. You can use the <span style="font-family: Courier New,Courier,monospace">disabled</span> attribute to disable a button and prevent the user from clicking it.</p>
+<p>To add a button component to the application, use the following code. You can use the <span style="font-family: Courier New,Courier,monospace">disabled</span> attribute to disable a button and prevent the user from clicking it.<br>
+And it is highly recomeneded to add these button in the content area and footer area, not header.</p>
 
 <pre class="prettyprint">
 &lt;button type=&quot;button&quot; class=&quot;ui-btn&quot;&gt;Button&lt;/button&gt;
 &lt;/div&gt;
 </pre></li></ul>
 
+<h2>Where to Go Next</h2>
+<ul>
+ <li><a href="widget_reference.htm">UI Component Reference</a></li>
+
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 1fd2aed..bcf8562
 }
 </pre>
 
+
+
+
+<h2>Where to Go Next</h2>
+<ul>
+ <li><a href="widget_reference.htm">UI Component Reference</a></li>
+
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_circleprogressbar.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_circleprogressbar.htm
new file mode 100755 (executable)
index 0000000..d7c4607
--- /dev/null
@@ -0,0 +1,293 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../snippet.js"></script>
+       <meta http-equiv="content-type" content="text/html; charset=utf-8">
+       <link href="../../styles.css" rel="StyleSheet" type="text/css">
+       <link href="../../snippet.css" rel="StyleSheet" type="text/css">
+       <title>CircleProgressBar</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>CircleProgressBar</h1>
+
+
+<p>Shows a control that indicates the progress percentage of an on-going operation by circular shape.</p>
+<p>The circle progress component shows a control that indicates the progress percentage of an on-going operation.<br>This component can be scaled to be fit inside a parent container.</p>
+
+
+<table class="note">
+       <tbody>
+       <tr>
+               <th class="note">Note</th>
+       </tr>
+       <tr>
+               <td class="note">This component is supported since <strong>2.3</strong>.</td>
+       </tr>
+       <tr>
+               <td class="note">This component is optimized for round UI. The component may not be shown properly in rectangular UI.</td>
+       </tr>
+       </tbody>
+</table>
+
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+
+               <li><a href="#simple-progress bar0.9435037684161216">How to Create CircleProgressBar</a></li>
+               <li><a href="#options-list">Options</a></li>
+               <li><a href="#events-list">Events</a></li>
+               <li><a href="#methods-list">Methods</a></li>
+</ol>
+
+<h2><a id='simple-progress bar0.9435037684161216'></a>How to Create CircleProgressBar</h2>
+
+<h3>Default CircleProgressBar</h3>
+
+<p>If you don't make any widget &quot;circleprogress&quot; with &lt;progress&gt; element, you can show default progress style.<br>
+To add a CircleProgressBar widget to the application, use the following code:</p>
+
+<pre class="prettyprint">&lt;div class="ui-page" id="pageCircleProgressBar"&gt;
+    &lt;header class="ui-header"&gt;&lt;/header&gt;
+    &lt;div class="ui-content"&gt;
+               &lt;progress class="ui-circle-progress" id="circleprogress" max="20" value="2"&gt;&lt;/progress&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+&lt;script&gt;
+    (function(){
+
+        var page = document.getElementById( "pageCircleProgressBar" ),
+            progressBar = document.getElementById("circleprogress"),
+            progressBarWidget;
+
+        page.addEventListener( "pageshow", function() {
+            // make Circle Progressbar object
+            progressBarWidget = new tau.widget.CircleProgressBar(progressBar);
+
+            });
+
+            page.addEventListener( "pagehide", function() {
+            // release object
+            progressBarWidget.destroy();
+        });
+         }());
+&lt;/script&gt;
+</pre>
+
+<h3>Full(screen) size CircleProgressBar</h3>
+<p>To add a circular shape(page size) progressbar in your application, you have to declare &lt;progress&gt; tag in &quot;ui-page&quot; element.
+       <br> And in your javascript code, you have to add option &quot;size: full&quot;.
+       <br> Be sure to place the &lt;progress&gt; element outside of content element.
+</p>
+<pre class="prettyprint">&lt;div class="ui-page" id="pageCircleProgressBar"&gt;
+    &lt;header class="ui-header"&gt;&lt;/header&gt;
+    &lt;div class="ui-content"&gt;&lt;/div&gt;
+    &lt;progress class="ui-circle-progress" id="circleprogress" max="20" value="2"&gt;&lt;/progress&gt;
+&lt;/div&gt;
+&lt;script&gt;
+    (function(){
+
+        var page = document.getElementById( "pageCircleProgressBar" ),
+            progressBar = document.getElementById("circleprogress"),
+            progressBarWidget;
+
+        page.addEventListener( "pageshow", function() {
+            // make Circle Progressbar object
+            progressBarWidget = new tau.widget.CircleProgressBar(progressBar, {size: "full"});
+
+            });
+
+            page.addEventListener( "pagehide", function() {
+            // release object
+            progressBarWidget.destroy();
+        });
+         }());
+&lt;/script&gt;
+</pre>
+
+<h3>Using event</h3>
+
+<p>Circle progress bar triggers "progresschange" event. The description is <a href="#events-list">here</a>.<br>
+The following shows how to use "progresschange" event.
+
+<pre class="prettyprint">
+progressBar.addEventListener("progresschange", function() {
+       // do something when the value of progress changes
+       console.log(progressBarWidget.value());
+});
+</pre>
+
+
+       <h2><a id="options-list"></a>Options</h2>
+
+       <table>
+               <tbody>
+               <tr>
+                       <th>Option</th>
+                       <th>Input type</th>
+                       <th>Default value</th>
+                       <th>Description</th>
+               </tr>
+
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">containerClassName</span></td>
+                               <td class="option">string</td>
+                               <td class="option">null</td>
+                               <td class="option">Sets the class name of CircleProgressBar container.</td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">size</span></td>
+                               <td class="option">number | &quot;full&quot; | &quot;large&quot; | &quot;medium&quot; | &quot;small&quot;</td>
+                               <td class="option">&quot;medium&quot;</td>
+                               <td class="option">Sets the size of CircleProgressBar.</td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">thickness</span></td>
+                               <td class="option">number</td>
+                               <td class="option">null</td>
+                               <td class="option">Sets the border width of CircleProgressBar.</td>
+                       </tr>
+               
+               </tbody>
+       </table>
+
+
+       <h2><a id="events-list"></a>Events</h2>
+
+       <table>
+               <tbody>
+               <tr>
+                       <th>Name</th>
+                       <th>Description</th>
+               </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">progresschange</span></td>
+                               <td><p>Triggered when the section is changed.</p></td>
+                       </tr>
+               
+               </tbody>
+       </table>
+
+
+
+       <h2><a id="methods-list"></a>Methods</h2>
+
+       <h3>Summary</h3>
+       <table class="informaltable">
+               <thead>
+               <tr>
+                       <th>Method</th>
+                       <th>Description</th>
+               </tr>
+               </thead>
+               <tbody>
+               
+                       
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint">string <a href="#method-value">value</a> (  ) </pre>
+                                       </td>
+                                       <td><p>Get or Set value of the widget</p></td>
+                               </tr>
+                       
+               
+               </tbody>
+       </table>
+       <dl>
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-value">value</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Get or Set value of the widget</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">string value ( ) </pre>
+                                       </div>
+                                       
+                                               <p><span class="version">Since: </span>
+                                                       2.3
+                                               </p>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       <p>Return element value or set the value</p>
+
+
+                                               </p>
+                                       </div>
+                                       
+                                       
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                                       <table>
+                                                               <tbody>
+                                                               <tr>
+                                                                       <th>Type</th>
+                                                                       <th>Description</th>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td>string</td>
+                                                                       <td>In get mode return element value</td>
+                                                               </tr>
+                                                               </tbody>
+                                                       </table>
+                                               
+                                               
+                                       </div>
+                                       
+                                               <div class="example">
+                                                       <span class="example"><p>Code
+                                                               example:</p><p></p></span>
+                                                       <pre name="code" class="examplecode
+                                                       prettyprint">    
+    &lt;div class="ui-page" id="pageCircleProgressBar"&gt;
+        &lt;header class="ui-header"&gt;
+            &lt;h2 class=&quot;ui-title&quot;&gt;Circle Progress Bar&lt;/h2&gt;
+        &lt;/header&gt;
+        &lt;div class="ui-content content-padding"&gt; Circle Progress Bar
+            &lt;progress class="ui-circle-progress" id="circleprogress" max="20" value="2"&gt;&lt;/progress&gt;
+        &lt;/div&gt;
+    &lt;/div&gt;
+
+    &lt;script&gt;
+        var page = document.getElementById( "pageCircleProgressBar" );
+
+        page.addEventListener( "pageshow", function() {
+          var progressbar = document.getElementById("circleprogress"),
+              progressbarWidget = tau.widget.CircleProgressBar(progressbar),
+          // return value in progress tag
+          value = progressbarWidget.value();
+          // sets the value for the progress
+          progressbarWidget.value("15");
+        });
+    &lt;/script&gt;
+</pre>
+                                               </div>
+                                       
+                               </dd>
+                       
+               
+               </dl>
+       
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="./widget_reference.htm">UI Component Reference</a></li>
+       
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_circularindexscrollbar.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_circularindexscrollbar.htm
new file mode 100755 (executable)
index 0000000..7367888
--- /dev/null
@@ -0,0 +1,466 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../snippet.js"></script>
+       <meta http-equiv="content-type" content="text/html; charset=utf-8">
+       <link href="../../styles.css" rel="StyleSheet" type="text/css">
+       <link href="../../snippet.css" rel="StyleSheet" type="text/css">
+       <title>CircularIndexScrollbar</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>Circular IndexScrollbar</h1>
+
+
+<p>Shows a Circular IndexScrollbar component with indices, usually for the list.</p>
+<p>The circularindexscrollbar component shows on the screen a circularscrollbar with indices. The indices can be selected by moving the rotary.<br>And it fires a select event when the index characters are selected.</p>
+
+<table class="note">
+       <tbody>
+       <tr>
+               <th class="note">Note</th>
+       </tr>
+       <tr>
+               <td class="note">This component is supported since <strong>2.3</strong>.</td>
+       </tr>
+       <tr>
+               <td class="note">This component is optimized for round UI. The component may not be shown properly in rectangular UI.</td>
+       </tr>
+       <tr>
+               <td class="note">If you want information for support to both round and rectangular UI, see <a href="../circular_support/components/indexscroll.htm">here</a></td>
+       </tr>
+       </tbody>
+</table>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       
+               <li><a href="#manual-constructor0.6990520032122731">Manual constructor</a>
+                       
+               </li>
+       
+               <li><a href="#options-list">Options</a>
+                       
+               </li>
+       
+               <li><a href="#events-list">Events</a>
+                       
+               </li>
+       
+               <li><a href="#methods-list">Methods</a>
+                       
+                               <ol class="toc">
+                                       
+                                               <li><a href="#method-show">show</a>
+                                               </li>
+                                       
+                                               <li><a href="#method-hide">hide</a>
+                                               </li>
+                                       
+                                               <li><a href="#method-value">value</a>
+                                               </li>
+                                       
+                               </ol>
+                       
+               </li>
+       
+</ol>
+
+
+<h2><a id='manual-constructor0.6990520032122731'></a>Manual constructor</h2>
+
+<p>For manual creation of Circular IndexScrollbar, you can use constructor from <strong>tau</strong> namespace:</p>
+
+<pre class="prettyprint">var circularindexElement = document.getElementById('circularindex'),
+    circularindexscrollbar = tau.widget.CircularIndexScrollbar(circularindexElement, {index: "A,B,C"});
+</pre>
+
+<p>Constructor has one require parameter <strong>element</strong> which are base <strong>HTMLElement</strong> to create component. We recommend get this element by method <em>document.getElementById</em>. Second parameter is <strong>options</strong> and it is a object with options for component.</p>
+
+<p>To add an CircularIndexScrollbar component to the application, use the following code:</p>
+
+<pre class="prettyprint"> &lt;div id="foo" class="ui-circularindexscrollbar" data-index="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z"&gt;&lt;/div&gt;
+ &lt;script&gt;
+     (function() {
+         var elem = document.getElementById("foo");
+         tau.widget.CircularIndexScrollbar(elem);
+         elem.addEventListener("select", function( event ) {
+             var index = event.detail.index;
+             console.log(index);
+         });
+     }());
+ &lt;/script&gt;
+</pre>
+
+<p>The index value can be retrieved by accessing event.detail.index property.</p>
+
+<p>In the following example, the list scrolls to the position of the list item defined using the li-divider class, selected by the circularindexscrollbar:</p>
+
+<pre class="prettyprint">
+ &lt;div id="pageIndexScrollbar" class="ui-page"&gt;
+       &lt;header class="ui-header"&gt;
+               &lt;h2 class="ui-title"&gt;CircularIndexScrollbar&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div id="indexscrollbar" class="ui-circularindexscrollbar" data-index="A,B,C,D,E"&gt;&lt;/div&gt;
+       &lt;section class="ui-content"&gt;
+               &lt;ul class="ui-listview" id="list1"&gt;
+                       &lt;li class="li-divider"&gt;A&lt;/li&gt;
+                       &lt;li&gt;Anton&lt;/li&gt;
+                       &lt;li&gt;Arabella&lt;/li&gt;
+                       &lt;li&gt;Art&lt;/li&gt;
+                       &lt;li class="li-divider"&gt;B&lt;/li&gt;
+                       &lt;li&gt;Barry&lt;/li&gt;
+                       &lt;li&gt;Bibi&lt;/li&gt;
+                       &lt;li&gt;Billy&lt;/li&gt;
+                       &lt;li&gt;Bob&lt;/li&gt;
+                       &lt;li class="li-divider"&gt;D&lt;/li&gt;
+                       &lt;li&gt;Daisy&lt;/li&gt;
+                       &lt;li&gt;Derek&lt;/li&gt;
+                       &lt;li&gt;Desmond&lt;/li&gt;
+               &lt;/ul&gt;
+       &lt;/section&gt;
+&lt;/div&gt;
+&lt;script&gt;
+(function() {
+       var page = document.getElementById("pageIndexScrollbar"),
+               scrollHandlers = {},
+               indexScrollbar;
+
+       page.addEventListener("pageshow", function(ev) {
+               var indexScrollbarElement = document.getElementById("indexscrollbar"),
+                       listviewElement = document.getElementById("list1"),     // list
+                       listDividers = listviewElement.getElementsByClassName("li-divider"),    // list dividers
+                       dividers = {},  // collection of list dividers
+                       indices = [],   // index list
+                       scroller,
+                       divider,
+                       i, idx;
+
+               // For all list dividers,
+               for(i = 0; i < listDividers.length; i++) {
+                       // Add the list divider elements to the collection
+                       divider = listDividers[i];
+                       idx = divider.innerText;
+                       dividers[idx] = divider;
+
+                       // Add the index to the index list
+                       indices.push(idx);
+               }
+
+               scroller = tau.util.selectors.getScrollableParent(listviewElement);
+
+               // Create CircularIndexScrollbar
+               indexScrollbar = new tau.widget.CircularIndexScrollbar(indexScrollbarElement, {index: indices});
+
+               // scroll event handlers
+               scrollHandlers = {
+                       start: function () {
+                               if (!indexScrollbar.isShow()) {
+                                       indexScrollbar.hideHandler();
+                               }
+                       },
+                       end: function () {
+                               if (!indexScrollbar.isShow()) {
+                                       indexScrollbar.showHandler();
+                               }
+                       }
+               };
+
+               scroller.addEventListener("scrollstart", scrollHandlers.start);
+               scroller.addEventListener("scrollend", scrollHandlers.end);
+       
+               // Add SnapListview item "selected" event handler.
+               listviewElement.addEventListener("selected", function (ev) {
+                       var indexValue = ev.target.textContent[0];
+                       indexScrollbar.value(indexValue);
+               });
+
+               // Add IndexScrollbar index "select" event handler.
+               indexScrollbarElement.addEventListener("select", function (ev) {
+                       var divider,
+                               idx = ev.detail.index;
+
+                       divider = dividers[idx];
+                       if(divider && scroller) {
+                               // Scroll to the li-divider element
+                               scroller.scrollTop = divider.offsetTop - scroller.offsetTop;
+                       }
+               });
+       });
+
+       page.addEventListener("pagehide", function(ev) {
+               scroller.removeEventListener("scrollstart", scrollHandlers.start);
+               scroller.removeEventListener("scrollend", scrollHandlers.end);
+               indexScrollbar.destroy();
+       });
+} ());
+&lt;/script&gt;
+</pre>
+
+
+
+       <h2><a id="options-list"></a>Options</h2>
+
+       <table>
+               <tbody>
+               <tr>
+                       <th>Option</th>
+                       <th>Input type</th>
+                       <th>Default value</th>
+                       <th>Description</th>
+               </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">delimiter</span></td>
+                               <td class="option">string</td>
+                               <td class="option">&quot;,&quot;</td>
+                               <td class="option">delimiter in index</td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">duration</span></td>
+                               <td class="option">number</td>
+                               <td class="option">500</td>
+                               <td class="option">duration of show/hide animation time</td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">index</span></td>
+                               <td class="option">string | Array</td>
+                               <td class="option">&quot;A&quot;,&quot;B&quot;,&quot;C&quot;,&quot;D&quot;,&quot;E&quot;,(...),&quot;V&quot;,&quot;W&quot;,&quot;X&quot;,&quot;Y&quot;,&quot;Z&quot;,&quot;1&quot;</td>
+                               <td class="option">indices list:<br> At least 3 indices are required, otherwise it may not work</td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">maxVisibleIndex</span></td>
+                               <td class="option">number</td>
+                               <td class="option">30</td>
+                               <td class="option">maximum length of visible indices:<br>More than "3" is required, otherwise it may not work</td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">moreChar</span></td>
+                               <td class="option">string</td>
+                               <td class="option">&quot;.&quot;</td>
+                               <td class="option">more character</td>
+                       </tr>
+               
+               </tbody>
+       </table>
+
+
+       <h2><a id="events-list"></a>Events</h2>
+
+       <table>
+               <tbody>
+               <tr>
+                       <th>Name</th>
+                       <th>Description</th>
+               </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">select</span></td>
+                               <td><p>Event triggered after select index by user<p>This event has "detail" object and there is "index" property in the "detail"<p>
+                                       detail.index provides information for selected index.</td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">indexshow</span></td>
+                               <td><p>Event triggered after CircularIndexScrollbar is shown</p></td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">indexhide</span></td>
+                               <td><p>Event triggered after CircularIndexScrollbar is hidden</p></td>
+                       </tr>
+               
+               </tbody>
+       </table>
+
+
+
+       <h2><a id="methods-list"></a>Methods</h2>
+
+       <h3>Summary</h3>
+       <table class="informaltable">
+               <thead>
+               <tr>
+                       <th>Method</th>
+                       <th>Description</th>
+               </tr>
+               </thead>
+               <tbody>
+               
+                       
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint"><a href="#method-show">show</a> (  ) </pre>
+                                       </td>
+                                       <td><p>Show the CircularIndexScrollbar</p></td>
+                               </tr>
+                       
+               
+                       
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint"><a href="#method-hide">hide</a> (  ) </pre>
+                                       </td>
+                                       <td><p>Hide the CircularIndexScrollbar</p></td>
+                               </tr>
+                       
+               
+                       
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint">string <a href="#method-value">value</a> (  ) </pre>
+                                       </td>
+                                       <td><p>Get or Set index of the CircularIndexScrollbar</p></td>
+                               </tr>
+                       
+
+                       
+               
+               </tbody>
+       </table>
+       <dl>
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-show">show</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Show the CircularIndexScrollbar</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">show ( ) </pre>
+                                       </div>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       
+                                               </p>
+                                       </div>
+                                       
+                                       
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                               
+                                                       No Return Value
+                                               
+                                       </div>
+                                       
+                               </dd>
+                       
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-hide">hide</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Hide the CircularIndexScrollbar</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">hide ( ) </pre>
+                                       </div>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       
+                                               </p>
+                                       </div>
+                                       
+                                       
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                               
+                                                       No Return Value
+                                               
+                                       </div>
+                                       
+                               </dd>
+                       
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-value">value</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Get or Set index of the CircularIndexScrollbar</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">string value ( ) </pre>
+                                       </div>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       <p>Return current index or set the index</p>
+
+
+                                               </p>
+                                       </div>
+                                       
+                                       
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                                       <table>
+                                                               <tbody>
+                                                               <tr>
+                                                                       <th>Type</th>
+                                                                       <th>Description</th>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td>string</td>
+                                                                       <td>In get mode return current index value</td>
+                                                               </tr>
+                                                               </tbody>
+                                                       </table>
+                                               
+                                               
+                                       </div>
+                                       
+                                               <div class="example">
+                                                       <span class="example"><p>Code
+                                                               example:</p><p></p></span>
+                                                       <pre name="code" class="examplecode
+                                                       prettyprint">    
+    &lt;div id="circularindexscrollbar"&gt;&lt;/div&gt;
+    &lt;script&gt;
+        var circularindexElement = document.getElementById("circularindex"),
+            circularIndexScrollbar = tau.widget.CircularIndexScrollbar(circularindexElement),
+        // return current index value
+        value = circularIndexScrollbar.value();
+        // sets the index value
+        circularIndexScrollbar.value("C");
+    &lt;/script&gt;
+</pre>
+                                               </div>
+                                       
+                               </dd>
+                       
+               
+                       
+                               
+               
+               </dl>
+       
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="./widget_reference.htm">UI Component Reference</a></li>
+       
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_drawer.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_drawer.htm
new file mode 100755 (executable)
index 0000000..46b7bac
--- /dev/null
@@ -0,0 +1,644 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../snippet.js"></script>
+       <meta http-equiv="content-type" content="text/html; charset=utf-8">
+       <link href="../../styles.css" rel="StyleSheet" type="text/css">
+       <link href="../../snippet.css" rel="StyleSheet" type="text/css">
+       <title>Drawer</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>Drawer</h1>
+
+<P>
+Wearable Drawer component provides drawer UX in wearable device.<br>
+The drawer component is a panel that the application's sub layout on the left or right edge of the screen. <br>
+This component is hidden most of the time, but user can be opened as swipe gesture from the edge of the screen or click the element that is added event handler, handler has drawer.open() method.</P>
+
+<table class="note">
+       <tbody>
+       <tr>
+               <th class="note">Note</th>
+       </tr>
+       <tr>
+               <td class="note">This component is supported since <strong>2.3</strong>.</td>
+       </tr>
+       <tr>
+               <td class="note">We recommend you to make a handler element. Because if you don't set the handler, handler is set to page element automatically.
+               <br>Nevertheless, if you really want to make the page element as handler, you should be careful of data-drag-edge or dragEdge option value.
+               <br>Because default value of data-drag-edge or dragEdge option is set to '1' - which means that the whole area of page element becomes drawable handler. </td>
+       </tr>
+       </tbody>
+</table>
+
+
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       
+               <li><a href="#html-examples0.5723640653304756">How to create Drawer</a>
+                       
+               </li>
+
+               <li><a href="#options-list">Options</a></li>
+
+               <li><a href="#options-example">HTML Example with Options</a></li>
+
+               <li><a href="#drawer-state0.013524989364668727">Drawer state</a>
+                       
+               </li>
+
+       
+               <li><a href="#methods-list">Methods</a>
+                       
+                               <ol class="toc">
+                                       
+                                               <li><a href="#method-setDragHandler">setDragHandler</a>
+                                               </li>
+                                       
+                                               <li><a href="#method-transition">transition</a>
+                                               </li>
+                                       
+                                               <li><a href="#method-open">open</a>
+                                               </li>
+                                       
+                                               <li><a href="#method-close">close</a>
+                                               </li>
+                                       
+                                               <li><a href="#method-getState">getState</a>
+                                               </li>
+                                       
+                               </ol>
+                       
+               </li>
+       
+</ol>
+
+<h2><a id='html-examples0.5723640653304756'></a>How to create Drawer</h2>
+<p>To use Drawer component in your app, you need to declare &quot;Drawer Handler(such as button)&quot; and &quot;Drawer Body(component)&quot;.<br>
+Please refer following example.</p>
+
+<table class="note">
+       <tbody>
+       <tr>
+               <th class="note">Note</th>
+       </tr>
+       <tr>
+               <td class="note">
+If you used the drawer handler, you must implement style code of handler. We don't provide default handler style as framework level, but we provide custom style example in 'style.css'.
+               </td>
+       </tr>
+       </tbody>
+</table>
+
+<h3>HTML</h3>
+<pre class="prettyprint">   &lt;div id="moreoptionsPage" class="ui-page"&gt;
+     &lt;header class="ui-header ui-has-more"&gt;
+         &lt;h2 class="ui-title"&gt;Drawer&lt;/h2&gt;
+         &lt;button class="ui-more ui-icon-overflow"&gt;Drawer&lt;/button&gt;
+     &lt;/header&gt;
+     &lt;div class="ui-content content-padding"&gt;
+       Drawer
+     &lt;/div&gt;
+
+     &lt;!-- Circle Profile --&gt;
+     &lt;div id="moreoptionsDrawer" class="ui-drawer" data-drawer-target="#moretionsPage" data-position="right" data-enable="true" data-drag-edge="1"&gt;
+         &lt;div id="moreoptionsSectionChanger" class="ui-section-changer"&gt;
+             &lt;div&gt;
+                &lt;seciont&gt;
+                    &lt;button class="option-button"&gt;1&lt;/button&gt; 
+                &lt;/seciont&gt;
+                &lt;seciont&gt;
+                    &lt;button class="option-button"&gt;2&lt;/button&gt; 
+                &lt;/seciont&gt;
+                &lt;seciont&gt;
+                    &lt;button class="option-button"&gt;3&lt;/button&gt; 
+                &lt;/seciont&gt;
+             &lt;/div&gt;
+         &lt;/div&gt;
+     &lt;/div&gt;
+   &lt;/div&gt;
+</pre>
+
+<h3>JavaScript</h3>
+<pre class="prettyprint">(function(){
+        var page = document.querySelector("#moreoptionsPage"),
+            popup = page.querySelector("#moreoptionsPopup"),
+            drawer = page.querySelector("#moreoptionsDrawer"),
+            handler = page.querySelector(".ui-more");
+
+       page.addEventListener( "pagebeforeshow", function() {
+           var popupWidget;
+
+            
+           tau.helper.DrawerMoreStyle.create(drawer, {
+               handler: ".ui-more",
+           });            
+       }); 
+    })();</pre>
+
+<h3>CSS</h3>
+<pre class="prettyprint">
+#moreoptionsDrawer {
+    display: none;
+}
+@media all and (-tizen-geometric-shape: circle) {
+    #moreoptionsDrawer {
+        display: block;
+        background-color: rgba(255, 255, 255, 0.1);
+        border-radius: 100%;
+    } 
+
+    #moreoptionsPopup {
+        display: none;
+    }   
+    .sections,
+    .options {
+        text-align: center;
+    } 
+    .option-button {
+       width: 158px;
+        height: 158px;
+        background-color: #a4a4a4;
+        position: relative;
+        left: 50%;
+        transform: translate3d(-50%, -50%, 0); 
+        top: 50%;
+        border-radius: 50%;
+        border: none;
+        text-align: center;
+        line-height: 158px;
+        -webkit-appearance: none;
+    }   
+}
+</pre>
+
+<h2><a id="options-list"></a>Options</h2>
+
+<table>
+       <tbody>
+       <tr>
+               <th>Option</th>
+               <th>Input type</th>
+               <th>Default value</th>
+               <th>Description</th>
+       </tr>
+
+       <tr>
+               <td class="option"><span style="font-family: Courier New,Courier,monospace">drawerTarget</span></td>
+               <td class="option">string</td>
+               <td class="option">&quot;.ui-page&quot;</td>
+               <td class="option">Drawer appended target. Value type is CSS selector type.</td>
+       </tr>
+
+       <tr>
+               <td class="option"><span style="font-family: Courier New,Courier,monospace">position</span></td>
+               <td class="option">&quot;left&quot; | &quot;right&quot;</td>
+               <td class="option">&quot;left&quot;</td>
+               <td class="option">Set the drawer position.<br>
+               If you set the value is "left", drawer appear from left side.<br>
+               If you set the value is "right", drawer appear from right side.</td>
+       </tr>
+
+       <tr>
+               <td class="option"><span style="font-family: Courier New,Courier,monospace">enable</span></td>
+               <td class="option">boolean</td>
+               <td class="option">true</td>
+               <td class="option">Enable drawer component.</td>
+       </tr>
+
+       <tr>
+               <td class="option"><span style="font-family: Courier New,Courier,monospace">dragEdge</span></td>
+               <td class="option">number</td>
+               <td class="option">1</td>
+               <td class="option">
+                Set the area on TARGET element to activate the drawer component.<br>
+                The value is based on ratio, so you should set the value between 0.0 and 1.0.<br>
+                This area has dependency on the position value such as 'right' or 'left'.<br>
+                For example, if you set the value to '0.5' and position was set to 'left', the area to activate the drawer component
+                is set to the left half side of the TARGET element.<br>
+                If you don't set the handler, TARGET element is set to the element which is selected as Target option value.<br>
+                However, if you set the handler, this option value is set to '1'.
+               </td>
+       </tr>
+
+       </tbody>
+</table>
+
+<h2><a href="#options-example"></a>HTML Example with Options</h2>
+<h3>Drawer positioning</h3>
+You can declare to 'position' option as below method.
+
+<pre class="prettyprint">   &lt;div class="ui-drawer" data-position="left" id="leftdrawer"&gt;
+</pre>
+
+<h3>Drawer targeting</h3>
+You can declare to 'drawerTarget' option as below method.
+
+<pre class="prettyprint">   &lt;div class="ui-drawer" data-drawer-target="#drawerPage"&gt;
+</pre>
+
+<h3>Drawer enable</h3>
+
+You can declare to 'enable' option as below method.
+
+<pre class="prettyprint">   &lt;div class="ui-drawer" data-enable="true"&gt;
+</pre>
+
+<h3>Drawer drag gesture starting area</h3>
+
+You can declare to 'enable' option as below method.
+
+<pre class="prettyprint">   &lt;div class="ui-drawer" data-drag-edge="1"&gt;
+</pre>
+
+
+
+
+
+<h2><a id='drawer-state0.013524989364668727'></a>Drawer state</h2>
+<p>Drawer has four state type. </p>
+
+<ul>
+       <li>"closed" - Drawer closed state.</li>
+       <li>"opened" - Drawer opened state.</li>
+       <li>"sliding" - Drawer is sliding state. This state does not mean that will operate open or close.</li>
+       <li>"settling" - drawer is settling state. 'Settle' means open or close status. So, this state means that drawer is animating for opened or closed state.</p>
+       </li>
+</ul>
+
+<p>You can get those states from getState() method.</p>
+
+       <h2><a id="methods-list"></a>Methods</h2>
+
+       <h3>Summary</h3>
+       <table class="informaltable">
+               <thead>
+               <tr>
+                       <th>Method</th>
+                       <th>Description</th>
+               </tr>
+               </thead>
+               <tbody>
+               
+                       
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint"><a href="#method-setDragHandler">setDragHandler</a> ( Element element ) </pre>
+                                       </td>
+                                       <td><p>Set Drawer drag handler.<br />If developer use handler, drag event is bound at handler only.</p></td>
+                               </tr>
+                       
+               
+                       
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint"><a href="#method-transition">transition</a> ( Integer position ) </pre>
+                                       </td>
+                                       <td><p>Transition Drawer widget.<br />This method use only positive integer number.</p></td>
+                               </tr>
+                       
+               
+                       
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint"><a href="#method-open">open</a> (  ) </pre>
+                                       </td>
+                                       <td><p>Open Drawer widget.</p></td>
+                               </tr>
+                       
+               
+                       
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint"><a href="#method-close">close</a> (  ) </pre>
+                                       </td>
+                                       <td><p>Close Drawer widget.</p></td>
+                               </tr>
+                       
+               
+                       
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint">String <a href="#method-getState">getState</a> (  ) </pre>
+                                       </td>
+                                       <td><p>Get state of Drawer widget.</p></td>
+                               </tr>
+                       
+               
+               </tbody>
+       </table>
+       <dl>
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-setDragHandler">setDragHandler</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Set Drawer drag handler.<br />If developer use handler, drag event is bound at handler only.</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">setDragHandler ( Element element) </pre>
+                                       </div>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       <h5>Running example in pure JavaScript:</h5>
+                                               </p>
+                                               <pre class="prettyprint">
+&lt;!-- Drawer Handlers --&gt;
+&lt;a id=&quot;leftDrawerHandler&quot; href=&quot;#leftDrawer&quot; class=&quot;drawer-handler&quot;&gt;Left Handler&lt;/a&gt;
+&lt;div id=&quot;leftDrawer&quot; class=&quot;ui-drawer&quot; data-drawer-target=&quot;#drawerSinglePage&quot; data-position=&quot;left&quot; data-enable=&quot;true&quot; data-drag-edge=&quot;1&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Left Drawer&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div id=&quot;leftClose&quot; class=&quot;ui-content&quot;&gt;
+               &lt;p&gt;Click Close&lt;/p&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+&lt;script&gt;
+var handler = document.getElementById(&quot;leftDrawerHandler&quot;),
+       drawer = tau.widget.Drawer(document.querySelector(handler.getAttribute(&quot;href&quot;));
+
+drawer.setDragHandler(handler);
+&lt;/script&gt;</pre>
+                                       </div>
+                                       
+                                       <div class="parameters">
+                                               <p><span class="param">Parameters:</span></p>
+                                       <table>
+                                       <tbody>
+                                       <tr>
+                                               <th>Parameter</th>
+                                               <th>Type</th>
+                                               <th>Required / optional</th>
+                                               <th>Default value</th>
+                                               <th>Description</th>
+                                       </tr>
+                                       
+                                       
+                                       <tr>
+                                               <td><span style="font-family: Courier New,Courier,monospace">element</span></td>
+                                               <td>Element</td>
+                                               <td>required</td>
+                                               <td></td>
+                                               <td></td>
+                                       </tr>
+                                       
+                                       
+                                       </tbody>
+                                       </table>
+                                       </div>
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                               
+                                                       No Return Value
+                                               
+                                       </div>
+                                       
+                               </dd>
+                       
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-transition">transition</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Transition Drawer widget.<br />This method use only positive integer number.</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">transition ( Integer position) </pre>
+                                       </div>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       <h5>Running example in pure JavaScript:</h5>
+                                                       <pre class="prettyprint">
+&lt;a id=&quot;leftDrawerHandler&quot; href=&quot;#leftDrawer&quot; class=&quot;drawer-handler&quot;&gt;Left Handler&lt;/a&gt;
+&lt;div id=&quot;leftDrawer&quot; class=&quot;ui-drawer&quot; data-drawer-target=&quot;#drawerSinglePage&quot; data-position=&quot;left&quot; data-enable=&quot;true&quot; data-drag-edge=&quot;1&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Left Drawer&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div id=&quot;leftClose&quot; class=&quot;ui-content&quot;&gt;
+               &lt;p&gt;Click Close&lt;/p&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+&lt;script&gt;
+var handler = document.getElementById(&quot;leftDrawerHandler&quot;),
+       drawer = tau.widget.Drawer(document.querySelector(handler.getAttribute(&quot;href&quot;));
+drawer.Transition(60);
+&lt;/script&gt;</pre>
+
+                                               </p>
+                                       </div>
+                                       
+                                       <div class="parameters">
+                                               <p><span class="param">Parameters:</span></p>
+                                       <table>
+                                       <tbody>
+                                       <tr>
+                                               <th>Parameter</th>
+                                               <th>Type</th>
+                                               <th>Required / optional</th>
+                                               <th>Default value</th>
+                                               <th>Description</th>
+                                       </tr>
+                                       
+                                       
+                                       <tr>
+                                               <td><span style="font-family: Courier New,Courier,monospace">position</span></td>
+                                               <td>Integer</td>
+                                               <td>required</td>
+                                               <td></td>
+                                               <td></td>
+                                       </tr>
+                                       
+                                       
+                                       </tbody>
+                                       </table>
+                                       </div>
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                               
+                                                       No Return Value
+                                               
+                                       </div>
+                                       
+                               </dd>
+                       
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-open">open</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Open Drawer widget.</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">open ( ) </pre>
+                                       </div>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       <h5>Running example in pure JavaScript:</h5>
+                                               <pre class="prettyprint">
+&lt;!-- Drawer Handlers --&gt;
+&lt;div id=&quot;leftDrawer&quot; class=&quot;ui-drawer&quot; data-drawer-target=&quot;#drawerSinglePage&quot; data-position=&quot;left&quot; data-enable=&quot;true&quot; data-drag-edge=&quot;1&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Left Drawer&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div id=&quot;leftClose&quot; class=&quot;ui-content&quot;&gt;
+               &lt;p&gt;Click Close&lt;/p&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+&lt;script&gt;
+       var handler = document.getElementById(&quot;leftDrawerHandler&quot;),
+               drawer = tau.widget.Drawer(document.querySelector(handler.getAttribute(&quot;href&quot;));
+
+       drawer.open();
+&lt;/script&gt;</pre>
+
+                                               </p>
+                                       </div>
+                                       
+                                       
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                               
+                                                       No Return Value
+                                               
+                                       </div>
+                                       
+                               </dd>
+                       
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-close">close</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Close Drawer widget.</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">close ( ) </pre>
+                                       </div>
+                                       
+                                       <div class="description">
+                                               <p>
+                                               <h5>Running example in pure JavaScript:</h5>
+                                               <pre class="prettyprint">
+&lt;!-- Drawer Handlers --&gt;
+&lt;div id=&quot;leftDrawer&quot; class=&quot;ui-drawer&quot; data-drawer-target=&quot;#drawerSinglePage&quot; data-position=&quot;left&quot; data-enable=&quot;true&quot; data-drag-edge=&quot;1&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Left Drawer&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div id=&quot;leftClose&quot; class=&quot;ui-content&quot;&gt;
+               &lt;p&gt;Click Close&lt;/p&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+&lt;script&gt;
+       var handler = document.getElementById(&quot;leftDrawerHandler&quot;),
+               drawer = tau.widget.Drawer(document.querySelector(handler.getAttribute(&quot;href&quot;));
+
+       drawer.close();
+&lt;/script&gt;</pre>
+
+                                               </p>
+                                       </div>
+                                       
+                                       
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                               
+                                                       No Return Value
+                                               
+                                       </div>
+                                       
+                               </dd>
+                       
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-getState">getState</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Get state of Drawer widget.</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">String getState ( ) </pre>
+                                       </div>
+                                       
+                                       <div class="description">
+                                               <p>
+                                               <h5>Running example in pure JavaScript:</h5>
+                                               <pre class="prettyprint">
+&lt;!-- Drawer Handlers --&gt;
+&lt;div id=&quot;leftDrawer&quot; class=&quot;ui-drawer&quot; data-drawer-target=&quot;#drawerSinglePage&quot; data-position=&quot;left&quot; data-enable=&quot;true&quot; data-drag-edge=&quot;1&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Left Drawer&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div id=&quot;leftClose&quot; class=&quot;ui-content&quot;&gt;
+               &lt;p&gt;Click Close&lt;/p&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+&lt;script&gt;
+       var handler = document.getElementById(&quot;leftDrawerHandler&quot;),
+               drawer = tau.widget.Drawer(document.querySelector(handler.getAttribute(&quot;href&quot;)),
+               state;
+
+       state = drawer.getState();
+&lt;/script&gt;</pre>
+
+                                               </p>
+                                       </div>
+                                       
+                                       
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                                       <table>
+                                                               <tbody>
+                                                               <tr>
+                                                                       <th>Type</th>
+                                                                       <th>Description</th>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td>String</td>
+                                                                       <td>Drawer state {"closed"|"opened"|"sliding"|"settling"}</td>
+                                                               </tr>
+                                                               </tbody>
+                                                       </table>
+                                               
+                                               
+                                       </div>
+                                       
+                               </dd>
+                       
+               
+               </dl>
+       
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="./widget_reference.htm">UI Component Reference</a></li>
+       
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
old mode 100644 (file)
new mode 100755 (executable)
index d9b881d..aa97200
 
 <p>The index scroll bar component shows on the screen a scrollbar with indices, and fires a <span style="font-family: Courier New,Courier,monospace">select</span> event when the index characters are clicked. The following table describes the supported index scroll bar APIs.</p>
 
+<table class="note">
+       <tbody>
+       <tr>
+               <th class="note">Note</th>
+       </tr>
+       <tr>
+               <td class="note">This component is released for <strong>2.3 rectangular UI</strong>. When you create this component in round screen, layout can be shown broken because screen hide index scrollbar. In that case, we recommend to use <a href="widget_circularindexscrollbar.htm">Circular IndexScrollbar</a>.</td>
+       </tr>
+       </tbody>
+</table>
+
+
 <h2>How to create Index Scroll Bar</h2>
 <p>To use index scroll bar, you can refer following APIs.</p>
 
 &lt;/script&gt;
 </pre>
 
+
+<h2>Where to Go Next</h2>
+<ul>
+ <li><a href="widget_reference.htm">UI Component Reference</a></li>
+
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 8cca688..0cbb6ca
 
 </ul>
 
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="widget_reference.htm">UI Component Reference</a></li>
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_marquee.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_marquee.htm
new file mode 100755 (executable)
index 0000000..f27c6c8
--- /dev/null
@@ -0,0 +1,358 @@
+<html>
+<head>
+  <script type="text/javascript" src="../../snippet.js"></script> 
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+  <link href="../../styles.css" rel="StyleSheet" type="text/css" /> 
+  <link href="../../snippet.css" rel="StyleSheet" type="text/css" /> 
+  <title>Marquee</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>Marquee</h1>
+
+<p>The Marquee component shows moving HTML element.<br>
+It makes &lt;div&gt; element (has some child nodes such as text and img) move horizontally like legacy &lt;marquee&gt; tag.</p>
+
+<table class="note">
+       <tbody>
+       <tr>
+               <th class="note">Note</th>
+       </tr>
+       <tr>
+               <td class="note">This component is supported since <strong>2.3</strong>.</td>
+       </tr>
+       </tbody>
+</table>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       
+               <li><a href="#make-marquee element0.013777208048850298">How to Create Marquee</a>
+                       
+               </li>
+       
+               <li><a href="#options-list">Options</a>
+                       
+               </li>
+               <li><a href="#events-list">Events</a></li>
+       
+               <li><a href="#methods-list">Methods</a>
+                       
+                               <ol class="toc">
+                                               <li><a href="#method-start">start</a>
+                                               </li>
+                                               <li><a href="#method-stop">stop</a>
+                                               </li>
+                                       
+                                               <li><a href="#method-reset">reset</a>
+                                               </li>
+                                       
+                               </ol>
+                       
+               </li>
+       
+</ol>
+
+<h2><a id='make-marquee element0.013777208048850298'></a>How to Create Marquee</h2>
+
+<p>If you want to create Marquee component, you have to declare &quot;ui-marquee&quot; in &lt;div&gt; element and make Marquee component in JS code.
+<br>To use a Marquee component in your application, please refer following code and marquee options:</p>
+
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page ui-page-active&quot; id=&quot;marqueePage&quot; &gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Marquee&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div class="ui-content"&gt;
+               &lt;ul class="ui-listview"&gt;
+                       &lt;li&gt;&lt;div class="ui-marquee" id="marquee"&gt;Marquee widget code sample&lt;/div&gt;&lt;/li&gt;
+               &lt;/ul&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
+&lt;script&gt;
+       var page = document.querySelector(&quot;#marqueePage&quot;);
+
+       page.addEventListener( &quot;pagebeforeshow&quot;, function() {
+               var marqueeEl = document.getElementById("marquee"),
+               marqueeWidget = new tau.widget.Marquee(marqueeEl, {marqueeStyle: "scroll", delay: "3"});
+       });
+&lt;/script&gt;
+</pre>
+
+
+
+       <h2><a id="options-list"></a>Options</h2>
+       <h3>Summary</h3>
+       <table>
+               <tbody>
+               <tr>
+                       <th>Option</th>
+                       <th>Input type</th>
+                       <th>Default value</th>
+                       <th>Description</th>
+               </tr>
+
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">marqueeStyle</span></td>
+                               <td class="option">&quot;slide&quot; | &quot;scroll&quot; | &quot;alternate&quot;</td>
+                               <td class="option">&quot;slide&quot;</td>
+                               <td class="option">Sets the default style for the marquee</td>
+                       </tr>
+
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">ellipsisEffect</span></td>
+                               <td class="option">&quot;gradient&quot; | &quot;ellipsis&quot; | &quot;none&quot;</td>
+                               <td class="option">&quot;gradient&quot;</td>
+                               <td class="option">Sets the end-effect(gradient) of marquee</td>
+                       </tr>
+
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">delay</span></td>
+                               <td class="option">number</td>
+                               <td class="option">2000</td>
+                               <td class="option">Sets the delay(ms) for marquee</td>
+                       </tr>
+
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">iteration</span></td>
+                               <td class="option">number | &quot;infinite&quot;</td>
+                               <td class="option">1</td>
+                               <td class="option">Sets the iteration count number for marquee</td>
+                       </tr>
+
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">speed</span></td>
+                               <td class="option">number</td>
+                               <td class="option">60</td>
+                               <td class="option">Sets the speed(px/sec) for the marquee</td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">timingFunction</span></td>
+                               <td class="option">&quot;linear&quot; | &quot;ease&quot; | &quot;ease-in&quot; | &quot;ease-out&quot; | &quot;cubic-bezier(n,n,n,n)&quot;</td>
+                               <td class="option">&quot;linear&quot;</td>
+                               <td class="option">Sets the timing function for marquee</td>
+                       </tr>
+
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">autoRun</span></td>
+                               <td class="option">boolean</td>
+                               <td class="option">true</td>
+                               <td class="option">Sets the status of autoRun</td>
+                       </tr>
+
+               </tbody>
+       </table>
+
+
+<h2><a id="events-list"></a>Events</h2>
+
+       <table>
+               <tbody>
+               <tr>
+                       <th>Name</th>
+                       <th>Description</th>
+               </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">marqueestart</span></td>
+                               <td><p>Triggered when marquee animation started.</p></td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">marqueeend</span></td>
+                               <td><p>Triggered when marquee animation ended.</p></td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">marqueestopped</span></td>
+                               <td><p>Triggered when marquee animation stopped.</p></td>
+                       </tr>
+               
+               </tbody>
+       </table>
+
+       <h2><a id="methods-list"></a>Methods</h2>
+
+       <h3>Summary</h3>
+       <table class="informaltable">
+               <thead>
+               <tr>
+                       <th>Method</th>
+                       <th>Description</th>
+               </tr>
+               </thead>
+               <tbody>
+                       <tr>
+                               <td>
+                                       <pre class="intable prettyprint"><a href="#method-start">start</a> (  ) </pre>
+                               </td>
+                               <td><p>Start Marquee animation</p></td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <pre class="intable prettyprint"><a href="#method-stop">stop</a> (  ) </pre>
+                               </td>
+                               <td><p>Stop Marquee animation</p></td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <pre class="intable prettyprint"><a href="#method-reset">reset</a> (  ) </pre>
+                               </td>
+                               <td><p>Reset Marquee animation</p></td>
+                       </tr>
+
+               </tbody>
+       </table>
+       <dl>
+
+
+               <dt class="method"><code><b><span class="methodName"
+                                                                                 id="method-start">start</span></b></code></dt>
+               <dd>
+                       <div class="brief">
+                               <p>Start Marquee animation</p>
+                       </div>
+                       <div class="synopsis">
+                               <pre class="signature prettyprint">start ( ) </pre>
+                       </div>
+
+                       <div class="description">
+                               <p>
+
+                               </p>
+                       </div>
+
+
+
+                       <div class="returntype">
+                               <p><span class="return">Return value:</span></p>
+
+
+                               No Return Value
+
+                       </div>
+
+                       <div class="example">
+                                                       <span class="example"><p>Code
+                                                               example:</p></span>
+                                                       <pre name="code" class="examplecode
+                                                       prettyprint">
+&lt;div class="ui-marquee" id="marquee"&gt;
+    &lt;p&gt;MarqueeTEST TEST message TEST for marquee&lt;/p&gt;
+&lt;/div&gt;
+&lt;script&gt;
+    var marqueeWidget = tau.widget.Marquee(document.getElementById("marquee"));
+    marqueeWidget.start();
+&lt;/script&gt;
+</pre>
+                       </div>
+
+               </dd>
+
+               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-stop">stop</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Stop Marquee animation</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">stop ( ) </pre>
+                                       </div>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       
+                                               </p>
+                                       </div>
+                                       
+                                       
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                               
+                                                       No Return Value
+                                               
+                                       </div>
+                                       
+                                               <div class="example">
+                                                       <span class="example"><p>Code
+                                                               example:</p></span>
+                                                       <pre name="code" class="examplecode
+                                                       prettyprint">
+&lt;div class="ui-marquee" id="marquee"&gt;
+    &lt;p&gt;MarqueeTEST TEST message TEST for marquee&lt;/p&gt;
+&lt;/div&gt;
+&lt;script&gt;
+    var marqueeWidget = tau.widget.Marquee(document.getElementById("marquee"));
+    marqueeWidget.stop();
+&lt;/script&gt;
+</pre>
+                                               </div>
+                                       
+                               </dd>
+                       
+               
+                       
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-reset">reset</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>Reset Marquee animation (reset and end)</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">reset ( ) </pre>
+                                       </div>
+                                       
+                                       <div class="description">
+                                               <p>
+                                                       
+                                               </p>
+                                       </div>
+                                       
+                                       
+                                       
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+                                               
+                                               
+                                                       No Return Value
+                                               
+                                       </div>
+                                       
+                                               <div class="example">
+                                                       <span class="example"><p>Code
+                                                               example:</p></span>
+                                                       <pre name="code" class="examplecode
+                                                       prettyprint">
+&lt;div class="ui-marquee" id="marquee"&gt;
+    &lt;p&gt;MarqueeTEST TEST message TEST for marquee&lt;/p&gt;
+&lt;/div&gt;
+&lt;script&gt;
+    var marqueeWidget = tau.widget.Marquee(document.getElementById("marquee"));
+    marqueeWidget.reset();
+&lt;/script&gt;
+</pre>
+                                               </div>
+                                       
+                               </dd>
+                       
+               
+               </dl>
+       
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="./widget_reference.htm">UI Component Reference</a></li>
+       
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_pageindicator.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_pageindicator.htm
new file mode 100755 (executable)
index 0000000..cd2e06a
--- /dev/null
@@ -0,0 +1,290 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../snippet.js"></script>
+       <meta http-equiv="content-type" content="text/html; charset=utf-8">
+       <link href="../../styles.css" rel="StyleSheet" type="text/css">
+       <link href="../../snippet.css" rel="StyleSheet" type="text/css">
+       <title>PageIndicator</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>PageIndicator</h1>
+
+<p>PageIndicator component presents as a dot-typed indicator.<br>
+The highlighted dots represent the corresponing active pages.</p>
+<p>According to option, the maximum number of dots and the number of pages to be linked can be set.
+<br>If the number of linked pages is more than dots which can be displayed, a central dot is assigned to multiple pages.</p>
+
+<table class="note">
+       <tbody>
+       <tr>
+               <th class="note">Note</th>
+       </tr>
+       <tr>
+               <td class="note">This component is supported since <strong>2.3</strong>.</td>
+       </tr>
+       </tbody>
+</table>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+
+               <li><a href="#manual-constructor">How to Create PageIndicator</a>
+
+               </li>
+
+               <li><a href="#options-list">Options</a>
+
+               </li>
+
+               <li><a href="#methods-list">Methods</a>
+
+                               <ol class="toc">
+
+                                               <li><a href="#method-setActive">setActive</a>
+                                               </li>
+
+                               </ol>
+               </li>
+
+</ol>
+
+<h2><a id='manual-constructor'></a>How to Create PageIndicator</h2>
+
+<p>For manual creation of PageIndicator, you can use constructor from <strong>tau</strong> namespace:</p>
+
+<pre class="prettyprint">var elPageIndicator = document.getElementById("pageindicator"),
+    pageIndicator = tau.widget.PageIndicator(elPageIndicator, { numberOfPages : 5 });
+</pre>
+
+<p>Constructor has two require parameter <strong>element</strong> which are base <strong>HTMLElement</strong> to create component. We recommend get this element by method <em>document.getElementById</em>. Second parameter is <strong>options</strong> and it is a object with options for component. numberOfPages means the number of pages to be linked and it is mandatory.</p>
+
+<p>To add an PageIndicator component to the application, use the following code:</p>
+
+<pre class="prettyprint"> &lt;div id=&quot;pageIndicator&quot; class=&quot;ui-page-indicator&quot;&gt;&lt;/div&gt;
+ &lt;script&gt;
+       var elPageIndicator = document.getElementById(&quot;pageIndicator&quot;),
+               pageIndicator =  tau.widget.PageIndicator(elPageIndicator, { numberOfPages: 5 }),
+               index = 1;
+       pageIndicator.setActive(index);
+&lt;/script&gt;
+</pre>
+
+<p>index value means index of active page.</p>
+
+<p>In the following example, the change of page is indicated in PageIndicator component by using PageIndicator with <a href="widget_section_changer.htm">SectionChanger</a> component.</p>
+
+<pre class="prettyprint">
+&lt;div id=&quot;pageIndicatorPage&quot; class=&quot;ui-page&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Page Indicator&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div id=&quot;pageIndicator&quot; class=&quot;ui-page-indicator&quot;&gt;&lt;/div&gt;
+       &lt;div id=&quot;hsectionchanger&quot; class=&quot;ui-content&quot;&gt;
+               &lt;div&gt;
+                       &lt;section class=&quot;ui-section-active&quot; style=&quot;text-align:center&quot; &gt;
+                               &lt;h3&gt; Page1 of 5&lt;/h3&gt;
+                       &lt;/section&gt;
+                       &lt;section style=&quot;text-align:center&quot;&gt;
+                               &lt;h3&gt; Page2 of 5&lt;/h3&gt;
+                       &lt;/section&gt;
+                       &lt;section style=&quot;text-align:center&quot;&gt;
+                               &lt;h3&gt; Page3 of 5&lt;/h3&gt;
+                       &lt;/section&gt;
+                       &lt;section style=&quot;text-align:center&quot;&gt;
+                               &lt;h3&gt; Page4 of 5 &lt;/h3&gt;
+                       &lt;/section&gt;
+                       &lt;section style=&quot;text-align:center&quot;&gt;
+                               &lt;h3&gt; Page5 of 5 &lt;/h3&gt;
+                       &lt;/section&gt;
+               &lt;/div&gt;
+       &lt;/div&gt;
+       &lt;script&gt;
+               (function() {
+                       var self = this,
+                               page = document.getElementById( &quot;pageIndicatorPage&quot; ),
+                               changer = document.getElementById( &quot;hsectionchanger&quot; ),
+                               sectionChanger,
+                               elPageIndicator = document.getElementById(&quot;pageIndicator&quot;),
+                               pageIndicator,
+                               pageIndicatorHandler;
+
+                       page.addEventListener( &quot;pagebeforeshow&quot;, function() {
+                               // Create PageIndicator
+                               pageIndicator =  tau.widget.PageIndicator(elPageIndicator, { numberOfPages: 5 });
+                               pageIndicator.setActive(0);
+
+                               sectionChanger = new tau.widget.SectionChanger(changer, {
+                                       circular: true,
+                                       orientation: &quot;horizontal&quot;,
+                                       useBouncingEffect: true
+                               });
+                       });
+
+                       page.addEventListener( &quot;pagehide&quot;, function() {
+                               sectionChanger.destroy();
+                               pageIndicator.destroy();
+                       });
+
+                       // Indicator setting handler
+                       pageIndicatorHandler = function (e) {
+                               pageIndicator.setActive(e.detail.active);
+                       };
+
+                       // Bind the callback
+                       changer.addEventListener(&quot;sectionchange&quot;, pageIndicatorHandler, false);
+               })();
+       &lt;/script&gt;
+&lt;/div&gt;
+</pre>
+
+<p>If you use the following statement when you create page indicator component, a central dot is assigned to multiple pages.</p>
+
+<pre class="prettyprint">
+pageIndicator =  tau.widget.PageIndicator(elPageIndicator, { numberOfPages: 5, maxPage: 3 });
+</pre>
+
+       <h2><a id="options-list"></a>Options</h2>
+
+       <table>
+               <tbody>
+               <tr>
+                       <th>Option</th>
+                       <th>Input type</th>
+                       <th>Default value</th>
+                       <th>Description</th>
+               </tr>
+
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">maxPage</span></td>
+                               <td class="option">number</td>
+                               <td class="option">5</td>
+                               <td class="option"><p>the maximum number of pages(dots) which can be displayed on screen</p></td>
+                       </tr>
+
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">numberOfPages</span></td>
+                               <td class="option">number</td>
+                               <td class="option">null</td>
+                               <td class="option">the number of pages to be linked <strong>(mandatory)</strong></td>
+                       </tr>
+
+               </tbody>
+       </table>
+<br>
+<p>
+Take an example : the situation that the value of numberOfPages is "5"(5 pages in all), and the value of maxPage is "3"(3 dots).<br>
+When you scroll the page(or section) horizontally,  the number of exceeding pages( in this case, it is 2 pages, which is the result of 5 - 3 )<br>
+would be indicated by the central dot, from middle of the pages.<br>
+<br>
+So, the first dot is for the first page, and the last dot is for the fifth( the last) page.<br>
+And the middle dot is shared by 2nd, 3rd and 4th page while scrolling pages.<br>
+<br>
+In the case of even value of maxPage( the number of dots on the screen), the next order of half of the maxPage value would work as middle dot.<br>
+For example, in the situation that the value of numberOfPages is "6", and the value of maxPage is "4", the 3rd dot( the result of 4 / 2 + 1) would indicate
+3rd, 4th and 5th pages as middle dot.<br>
+<br>
+Of course, the value of numberOfPages should meet the number of the pages you have added to HTML.<br>
+<br>
+And if the the value of maxPage(dots) exceeds the value of numberOfPages, the value of maxPage would be changed to the value of numberOfPages.<br>
+For example, in the situation that the value of numberOfPages is "6", and the value of maxPage is "100",there would be still 6 dots on the screen.
+</P>
+
+
+       <h2><a id="methods-list"></a>Methods</h2>
+
+       <h3>Summary</h3>
+       <table class="informaltable">
+               <thead>
+               <tr>
+                       <th>Method</th>
+                       <th>Description</th>
+               </tr>
+               </thead>
+               <tbody>
+
+
+                               <tr>
+                                       <td>
+                                               <pre class="intable prettyprint"><a href="#method-setActive">setActive</a> ( number index ) </pre>
+                                       </td>
+                                       <td><p>This method sets a dot to active state.</p></td>
+                               </tr>
+
+
+               </tbody>
+       </table>
+       <dl>
+
+
+                               <dt class="method"><code><b><span class="methodName"
+                                                                                                                                  id="method-setActive">setActive</span></b></code></dt>
+                               <dd>
+                                       <div class="brief">
+                                               <p>This method sets a dot to active state.</p>
+                                       </div>
+                                       <div class="synopsis">
+                                               <pre class="signature prettyprint">setActive ( number index) </pre>
+                                       </div>
+
+                                       <div class="description">
+                                               <p>
+
+                                               </p>
+                                       </div>
+
+                                       <div class="parameters">
+                                               <p><span class="param">Parameters:</span></p>
+                                       <table>
+                                       <tbody>
+                                       <tr>
+                                               <th>Parameter</th>
+                                               <th>Type</th>
+                                               <th>Required / optional</th>
+                                               <th>Default value</th>
+                                               <th>Description</th>
+                                       </tr>
+
+
+                                       <tr>
+                                               <td><span style="font-family: Courier New,Courier,monospace">index</span></td>
+                                               <td>number</td>
+                                               <td>required</td>
+                                               <td></td>
+                                               <td>index which is active state.</td>
+                                       </tr>
+
+
+                                       </tbody>
+                                       </table>
+                                       </div>
+
+                                       <div class="returntype">
+                                               <p><span class="return">Return value:</span></p>
+
+
+                                                       No Return Value
+
+                                       </div>
+
+                               </dd>
+
+
+               </dl>
+
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="./widget_reference.htm">UI Component Reference</a></li>
+
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
old mode 100644 (file)
new mode 100755 (executable)
index 4600fcb..4fb5bb1
@@ -35,7 +35,8 @@
 <p>To open a pop-up window from a link, use the <span style="font-family: Courier New,Courier,monospace">data-rel</span> attribute in HTML markup as in the following code:
 </p>
 <pre class="prettyprint">&lt;a href=&quot;#popup&quot; class=&quot;ui-btn&quot; data-rel=&quot;popup&quot;&gt;Open popup when clicking this element.&lt;/a&gt;</pre>
-<p>The following table shows examples of various types of popups.</p>
+<p>And also, popup is opened by link with ID as mentioned. So the id in the link and the the id the of popup page listed below should have the same id to be opened.</p>
+<p>The following table shows examples of various types of popups. If you want to implement the examples with above 'opening' code, be sure to meet the same id.</p>
 
 <table>
 <caption>Table: Popup type examples</caption>
        </tr>
        <tr>
                <td><span style="font-family: Courier New,Courier,monospace">popupcreate</span></td>
-               <td>Triggered when the pop-up has been created in the DOM (for example, through Ajax) but before all UI components have had an opportunity to enhance the contained markup.</td>
+               <td>Triggered when the pop-up has been created in the DOM (for example, through Ajax) but before all UI Components have had an opportunity to enhance the contained markup.</td>
        </tr>
        <tr>
                <td><span style="font-family: Courier New,Courier,monospace">popupbeforehide</span></td>
 &lt;/script&gt;
 </pre></pre>
 
-<p>Because popup works in asynchronous way due to animation, the features of popup need to work under event like below code:<br>
+<p>Because popup works in asynchronos way due to animation, the features of popup need to work under event like below code:<br>
 If popup is opened or closed by only openPopup() or closePopup() method,
 it might occur exceptional errors or bugs.<br>
 So it is highly recommended to handle the feature by using event.</p>
@@ -303,6 +304,15 @@ tau.defaults.popupTransition = &quot;slideup&quot;;
 </tbody>
 </table>
 
+
+
+
+<h2>Where to Go Next</h2>
+<ul>
+ <li><a href="widget_reference.htm">UI Component Reference</a></li>
+
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 9223cc1..7059fc6
 <h1>Processing</h1>
 
 <p>The processing component shows on the screen that an operation is in progress.</p>
+<p>Two size of processing components are supported by TAU. please refer this document.</p>
+
+
+
+
 
 <h2>Table of Contents</h2>
 <ol class="toc">
+       
+
                <li><a href="#html-example">HTML Examples</a></li>
+
+       
 </ol>
 
 <h2 id="html-example">HTML Examples</h2>
 
-<h3>Processing Component</h3>
-<p>To add a processing component to the application, use the following code:</p>
+<h3>small processing component</he>
+<p>To add a small processing component to the application, use the following code:</p>
 <pre class="prettyprint">
 &lt;div class=&quot;ui-processing&quot;&gt;&lt;/div&gt;
 &lt;div class=&quot;ui-processing-text&quot;&gt;
 &lt;/div&gt;
 </pre>
 
+<h3>Full size processing component</h3>
+<p>To add a <b>FULL SIZE</b> processing component to the application, you need to declare processing html in page level.<br>
+Please use the following code:</p>
+
+
+<table class="note">
+       <tbody>
+       <tr>
+               <th class="note">Note</th>
+       </tr>
+       <tr>
+               <td class="note">This component(full-size processing) is supported since <strong>2.3</strong>.</td>
+       </tr>
+       </tbody>
+</table>
+
+<pre class="prettyprint">&lt;div class=&quot;ui-page&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Processing&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div class=&quot;ui-content content-padding&quot;&gt;
+               It was a real pleasure for me to finally get to meet you. My colleagues join me in sending you our holiday...
+       &lt;/div&gt;
+       &lt;div class=&quot;ui-processing ui-processing-full-size&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+</pre>
+
+
+<h2>Where to Go Next</h2>
+<ul>
+ <li><a href="widget_reference.htm">UI Component Reference</a></li>
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 765561b..618c456
 <li>If you implement a <span style="font-family: Courier New,Courier,monospace">div</span> element that can choose 2 classes (<span style="font-family: Courier New,Courier,monospace">ui-progress-proportion</span> or <span style="font-family: Courier New,Courier,monospace">ui-progress-ratio</span>) and a <span style="font-family: Courier New,Courier,monospace">progress</span> element on the same level, you show two elements on the screen (the proportion information is located left below and the ratio information is located right below).</li>
 </ul>
 
+<table class="note">
+       <tbody>
+       <tr>
+               <th class="note">Note</th>
+       </tr>
+       <tr>
+               <td class="note">If you want to use Circular-shape progressbar, please refer <a href="widget_circleprogressbar.htm">CircleProgressBar</a> component.</td>
+       </tr>
+       </tbody>
+</table>
+
+
 <p>The following table describes the supported progress classes.</p>
 <table>
 <caption>Table: Popup classes</caption>
 &lt;div class=&quot;ui-progress-ratio&quot;&gt;50%&lt;/div&gt;
 </pre>
 
+<h2>Where to Go Next</h2>
+<ul>
+ <li><a href="widget_reference.htm">UI Component Reference</a></li>
+
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index ca43785..d12ac46
 
 <h1>UI Component Reference</h1>
 
-<p>The Tizen Wearable Web UI framework provides rich Tizen wearable UI components that are optimized for the Tizen wearable Web application. You can use the UI components for:</p>
+<p>The Tizen Wearable Web UI framework provides rich Tizen Wearable UI Components that are optimized for the Tizen Wearable Web application. You can use the UI Components for:</p>
 <ul>
        <li>CSS animation</li>
        <li>Rendering</li>
 </ul>
 
-<p>The following table displays the UI components provided by the Tizen Wearable Web UI framework.</p>
+<p>The following table displays the UI Components provided by the Tizen Wearable Web UI framework.</p>
 
 <table border="1">
-       <caption>Table: Tizen Wearable Web UI components</caption>
+       <caption>Table: Tizen Wearable Web UI Components</caption>
                <tbody>
                        <tr>
-                               <th>UI component</th>
+                               <th>UI Component</th>
                                <th>Description</th>
                        </tr>
                        <tr>
                                <td>Shows a list of options where 1 or more can be selected.</td>
                        </tr>
                        <tr>
+                               <td><a href="widget_circleprogressbar.htm">Circle ProgressBar</a></td>
+                               <td>Shows a control that indicates the progress percentage of an on-going operation by circular shape.</td>
+                       </tr>
+                       <tr>
+                               <td><a href="widget_circularindexscrollbar.htm">Circular IndexScrollbar</a></td>
+                               <td>Shows a circularindexscrollbar with indeces, usually for the list.</td>
+                       </tr>
+                       <tr>
+                               <td><a href="widget_drawer.htm">Drawer</a></td>
+                               <td>Shows a panel that in the sub-layout on the left or right edge of screen.</td>
+                       
+                       </tr>
+                       <tr>
                                <td><a href="widget_indexscrollbar.htm">Index scroll bar</a></td>
                                <td>Shows an index scroll bar with indices, usually for the list.</td>
                        </tr>
+
+
                        <tr>
                                <td><a href="widget_list.htm">List</a></td>
                                <td>Shows a list view.</td>
                        </tr>
                        <tr>
+                               <td><a href="widget_marquee.htm">Marquee</a></td>
+                               <td>Shows a component which moves left and right.</td>
+                       </tr>
+                       <tr>
+                               <td><a href="widget_pageindicator.htm">Page Indicator</a></td>
+                               <td>Shows a dot-style page indicator.</td>
+                       </tr>
+                       <tr>
                                <td><a href="widget_popup.htm">Popup</a></td>
                                <td>Shows a pop-up window.</td>
                        </tr>
                                <td>Shows a control that you can use to change values by dragging a handle on a horizontal scale.</td>
                        </tr>
                        <tr>
+                               <td><a href="widget_snaplistview.htm">SnapListview</a></td>
+                               <td>Shows a snap listview that you can detect which item be positioned at center.</td>
+                       </tr>
+                       <tr>
                                <td><a href="widget_swipelist.htm">Swipe list</a></td>
                                <td>Shows a list where you can swipe horizontally through a list item to perform a specific task.</td>
                        </tr>
                </tbody>
 </table>
 
+ <h2>Where to Go Next</h2>
+<ul>
+<li><a href="../index.htm">Tizen Wearable Web UI Framework Reference</a></li></ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index a164d45..d2f6b63
@@ -11,8 +11,9 @@
 
 <h1>Section Changer</h1>
 
-<p>The section changer component provides an application architecture, which has multiple sections on a page and enables scrolling through the <span style="font-family: Courier New,Courier,monospace">&lt;section&gt;</span> elements.</p>
-       
+<p>The section changer component provides an application architecture, which has multiple sections on one page.<br>
+With Section changer on one page, you can scroll the <span style="font-family: Courier New,Courier,monospace">&lt;section&gt;</span> elements horizontally or vertically without changing current page to another.</p><p>
+It gets to have a virtue of needlessness of changing page and the existance of same header within multiple <span style="font-family: Courier New,Courier,monospace">&lt;section&gt;</span> elements.</p>
 <h2>Table of Contents</h2>
 <ol class="toc">
 
 &nbsp;&nbsp;&nbsp;element = document.getElementById(&quot;sectionchanger&quot;),
 &nbsp;&nbsp;&nbsp;sectionChanger, idx=1;
 
-&nbsp;&nbsp;&nbsp;page.addEventListener(&quot;pageshow&quot;, function() 
-&nbsp;&nbsp;&nbsp;{
+&nbsp;&nbsp;&nbsp;page.addEventListener(&quot;pageshow&quot;, function() {
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Create the SectionChanger object */
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sectionChanger = new tau.SectionChanger(element, 
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sectionChanger = tau.widget.SectionChanger(element, {
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;circular: true,
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;orientation: &quot;horizontal&quot;,
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;useBouncingEffect: true
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});
 &nbsp;&nbsp;&nbsp;});
 
-&nbsp;&nbsp;&nbsp;page.addEventListener(&quot;pagehide&quot;, function() 
-&nbsp;&nbsp;&nbsp;{
+&nbsp;&nbsp;&nbsp;page.addEventListener(&quot;pagehide&quot;, function() {
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Release the object */
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sectionChanger.destroy();
 &nbsp;&nbsp;&nbsp;});
 
                </dl>
 
+
+
+
+<h2>Where to Go Next</h2>
+<ul>
+ <li><a href="widget_reference.htm">UI Component Reference</a></li>
+
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 968963a..aea8128
 
 <p>To add a slider component to the application, use the following code:</p>
 
-<pre class="prettyprint">
-&lt;input type=&quot;range&quot; /&gt;
+<pre class="prettyprint">&lt;div class=&quot;ui-page&quot;&gt;
+       &lt;header class=&quot;ui-header&quot;&gt;
+               &lt;h2 class=&quot;ui-title&quot;&gt;Slider&lt;/h2&gt;
+       &lt;/header&gt;
+       &lt;div class=&quot;ui-content content-padding&quot;&gt;
+               Slider length can be modified by the width style.
+        &lt;input type=&quot;range&quot; /&gt;
+       &lt;/div&gt;
+&lt;/div&gt;
 </pre>
+<p>If you want to modify the width of the slider,please change the length with width style.</p>
+
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="widget_reference.htm">UI Component Reference</a></li>
+</ul>
+
 
  <div id="footer"> 
    <hr size="1" /> 
diff --git a/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_snaplistview.htm b/org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_snaplistview.htm
new file mode 100755 (executable)
index 0000000..1289c67
--- /dev/null
@@ -0,0 +1,125 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+       <script type="text/javascript" src="../../snippet.js"></script>
+       <meta http-equiv="content-type" content="text/html; charset=utf-8">
+       <link href="../../styles.css" rel="StyleSheet" type="text/css">
+       <link href="../../snippet.css" rel="StyleSheet" type="text/css">
+       <title>SnapListview</title>
+</head>
+<body onload="prettyPrint()" id="content">
+<h1>SnapListview</h1>
+
+
+<p>Shows a snap list view. It detects center-positioned list item when scroll end.</p>
+<p>When scroll event started, SnapListview triggers &quot;scrollstart&quot; event, and scroll event ended, triggers &quot;scrollend&quot; event.<br>
+When scroll ended, it triggers &quot;selected&quot; event and attach class to detected(center-positioned) item.</p>
+
+<table class="note">
+        <tbody>
+        <tr>
+                <th class="note">Note</th>
+        </tr>
+        <tr>
+                <td class="note">This component is supported since <strong>2.3</strong>.</td>
+        </tr>
+        </tbody>
+</table>
+
+<h2>Table of Contents</h2>
+<ol class="toc">
+       
+               <li><a href="#default-selectors0.06779201747849584">How to create SnapListview</a>
+                       
+               </li>
+
+               <li><a href="#default-using0.06779201747849584">Usage of SnapListview</a>
+                       
+               </li>
+       
+               <li><a href="#events-list">Events</a>
+                       
+               </li>
+       
+</ol>
+
+<h2><a id='default-selectors0.06779201747849584'></a>How to create SnapListview</h2>
+
+<p>Selector for snap listview widget is class <em>ui-snap-listview</em>.</p>
+
+<p>To add a list widget to the application, use the following code:</p>
+
+<h3><a id='list-with basic items0.7933700433932245'></a>List with basic items</h3>
+
+<p>You can add a basic listview as follows:</p>
+
+<pre class="prettyprint">&lt;ul class="ui-listview ui-snap-listview" id="snapList"&gt;
+    &lt;li&gt;1line&lt;/li&gt;
+    &lt;li&gt;2line&lt;/li&gt;
+    &lt;li&gt;3line&lt;/li&gt;
+    &lt;li&gt;4line&lt;/li&gt;
+    &lt;li&gt;5line&lt;/li&gt;
+&lt;/ul&gt;
+</pre>
+
+<p>In javascript code, you can make your list as SnapListview component as follows:</p>
+<pre class="prettyprint">&lt;script&gt;
+var snapList = document.getElementById("snapList"),
+    snapListComponent = tau.widget.SnapListview(snapList);
+&lt;/script&gt;
+</pre>
+
+<h2><a id='default-using0.06779201747849584'></a>Usage of SnapListview</h2>
+
+<p>You can make your app more effectively with this SnapListview Component and <a href="widget_marquee.htm">Marquee Component</a>.</p>
+
+<p>When &quot;selected&quot; event triggered, center-positioned list item can be expand with sub text. Also, we can make main text move with Marquee.<br><br>
+
+TAU supported helper script named <a href="../helper/helper_listmarqueestyle.htm">SnapListMarqueeStyle</a>. You can use tau.helper.SnapListMarqueeStyle to make your application more nice.</p> 
+
+
+       <h2><a id="events-list"></a>Events</h2>
+
+       <table>
+               <tbody>
+               <tr>
+                       <th>Name</th>
+                       <th>Description</th>
+               </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">scrollstart</span></td>
+                               <td><p>Triggered when snaplist scoll started.</p></td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">scrollend</span></td>
+                               <td><p>Triggered when snaplist scoll ended.</p></td>
+                       </tr>
+               
+                       <tr>
+                               <td class="option"><span style="font-family: Courier New,Courier,monospace">selected</span></td>
+                               <td><p>Triggered when snaplist detects center-positioned list item.</p></td>
+                       </tr>
+               
+               </tbody>
+       </table>
+
+
+
+
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="./widget_reference.htm">UI Component Reference</a></li>
+       
+</ul>
+<div id="footer">
+       <hr size="1">
+       <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a
+                       href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution
+               3.0</a> and all of the Code Examples contained herein are licensed under <a
+                       href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the
+               <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>
+</div>
+</body>
+</html>
old mode 100644 (file)
new mode 100755 (executable)
index 101f23f..04cf135
 
 <h1>Swipe List</h1>
 
-<p>The swipe list component shows on the screen a list where you can swipe horizontally through a list item to activate a specific feature or perform a specific task. For example, you can swipe a contact in a contact list to call them or to open a message editor in order to write them a message.</p>
+<p>The swipe list component shows on the screen a list where you can swipe horizontally through a list item to activate a specific feature or perform a specific task.<p>
+For example, you can swipe a contact in a contact list to call them or to open a message editor in order to write them a message.<p>
+You can set the details when swiping such as elements that appear, background color and the property of the animation.<p>
+
+<table class="note">
+       <tbody>
+       <tr>
+               <th class="note">Note</th>
+       </tr>
+       <tr>
+               <td class="note">This component is released for <strong>2.3 rectangular UI</strong>. <br>
+               When you create this component in round screen, layout can be shown broken because screen hide swipe widget.</td>
+       </tr>
+       </tbody>
+</table>
 
 <h2>Table of Contents</h2>
 <ol class="toc">
 </ol>
 
 <h2 id="manual-constructor">How to Create Swipe List</h2>
-<p>To add a swipe list component to the application, use the following code:</p>
-
-<pre class="prettyprint"><pre class="prettyprint" style="border:0px; margin:0px">
-&lt;div class=&quot;ui-content&quot;&gt;
-&nbsp;&nbsp;&nbsp;&lt;!--List items that can be swiped--&gt;
-&nbsp;&nbsp;&nbsp;&lt;ul class=&quot;ui-listview ui-swipelist-list&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Andrew&lt;/li&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Bill&lt;/li&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Christina&lt;/li&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Daniel&lt;/li&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Edward&lt;/li&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Peter&lt;/li&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Sam&lt;/li&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Tom&lt;/li&gt;
-&nbsp;&nbsp;&nbsp;&lt;/ul&gt;
-&nbsp;&nbsp;&nbsp;&lt;!--Swipe actions--&gt;
-&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist-left&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist-icon&quot;&gt;&lt;/div&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist-text&quot;&gt;Calling&lt;/div&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist-right&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist-icon&quot;&gt;&lt;/div&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist-text&quot;&gt;Message&lt;/div&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;
-&nbsp;&nbsp;&nbsp;&lt;/div&gt;
-&lt;/div&gt;</pre><pre class="prettyprint lang-js" style="border:0px; margin:0px">
-&lt;script&gt;
-&nbsp;&nbsp;&nbsp;(function()
-&nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var page = document.getElementById(&quot;swipelist&quot;),
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listElement = page.getElementsByClassName(&quot;ui-swipelist-list&quot;)[0],
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swipeList;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;page.addEventListener(&quot;pageshow&quot;, function()     
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Make swipe list object */
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swipeList = new tau.widget.SwipeList(listElement, 
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swipeTarget: &quot;li&quot;,
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swipeElement: &quot;.ui-swipelist&quot;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;page.addEventListener(&quot;pagehide&quot;, function() 
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Release object */
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swipeList.destroy();
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});
-&nbsp;&nbsp;&nbsp;})();
-&lt;/script&gt;
-</pre></pre>
+<p>In the following, left swipe shows "Calling" text and right swipe shows "Message" on the list item.</p>
 
+<h3>HTML</h3>
+<pre class="prettyprint">
+&lt;div class=&quot;ui-page&quot; id=&quot;pageSwipeList&quot;&gt;
+&nbsp;&nbsp; &lt;div class=&quot;ui-content&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!--List items that can be swiped--&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul class=&quot;ui-listview ui-swipelist-list&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt;Andrew&lt;/li&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt;Bill&lt;/li&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt;Christina&lt;/li&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt;Daniel&lt;/li&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt;Edward&lt;/li&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt;Peter&lt;/li&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt;Sam&lt;/li&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt;Tom&lt;/li&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!--Swipe actions--&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;div class=&quot;ui-swipelist-left&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist-icon&quot;&gt;&lt;/div&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist-text&quot;&gt;Calling&lt;/div&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/div&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;div class=&quot;ui-swipelist-right&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist-icon&quot;&gt;&lt;/div&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&quot;ui-swipelist-text&quot;&gt;Message&lt;/div&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/div&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;
+&nbsp;&nbsp; &lt;/div&gt;
+&lt;/div&gt;
+</pre>
 
+<h3>JavaScript</h3>
+<pre class="prettyprint">
+(function() {
+&nbsp;&nbsp;&nbsp;var page = document.getElementById(&quot;pageSwipeList&quot;),
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listElement = page.getElementsByClassName(&quot;ui-swipelist-list&quot;)[0],
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swipeList;
+&nbsp;&nbsp;&nbsp;page.addEventListener(&quot;pageshow&quot;, function() {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Make swipe list object */
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swipeList = new tau.widget.SwipeList(listElement, {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swipeTarget: &quot;li&quot;,
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swipeElement: &quot;.ui-swipelist&quot;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});
+&nbsp;&nbsp;&nbsp;});
+&nbsp;&nbsp;&nbsp;page.addEventListener(&quot;pagehide&quot;, function() {
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Release object */
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swipeList.destroy();
+&nbsp;&nbsp;&nbsp;});
+})();
+</pre>
 
 <h2 id="options-list">Options</h2>
 
 })();
 </pre>
 
+<h2>Where to Go Next</h2>
+<ul>
+ <li><a href="widget_reference.htm">UI Component Reference</a></li>
+
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 37d32c4..ebfb1dd
@@ -57,6 +57,11 @@ To add a toggle switch, you must add the <span style="font-family: Courier New,C
     &lt;/li&gt;
 &lt;/ul&gt;</pre>
 
+<h2>Where to Go Next</h2>
+<ul>
+       <li><a href="widget_reference.htm">UI Component Reference</a></li>
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font> 
old mode 100644 (file)
new mode 100755 (executable)
index 125eed8..85f7651
@@ -15,8 +15,6 @@
 
 <p>The virtual list component is used to display a list of unlimited data elements. The component provides easy access to databases to retrieve and display data. The virtual list component is based on a result set which has a fixed size defined by the developer using the <span style="font-family: Courier New,Courier,monospace">data-row</span>  attribute. A result set must be at least 3 times bigger than size of a clip (number of visible elements).</p>
 
-<h2>Table of Contents</h2>
-
 <ol class="toc">
 
                <li><a href="#manual-constructor">How to Create Virtual List</a>
 &lt;script type=&quot;text/javascript&quot; src=&quot;app.js&quot;&gt;&lt;/script&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;../../lib/tau/js/virtuallist.js&quot;&gt;&lt;/script&gt;</pre><pre class="prettyprint lang-js" style="border:0px; margin:0px">/* JSON DATA example in virtuallist-db-demo.js */
 var JSON_DATA = 
-{
+[
 &nbsp;&nbsp;&nbsp;{NAME:&quot;Abdelnaby, Alaa&quot;},
 &nbsp;&nbsp;&nbsp;{NAME:&quot;Abdul-Aziz, Zaid&quot;},
 &nbsp;&nbsp;&nbsp;{NAME:&quot;Abdul-Jabbar, Kareem&quot;},
 &nbsp;&nbsp;&nbsp;{NAME:&quot;Abdul-Rauf, Mahmoud&quot;},
-&nbsp;&nbsp;&nbsp;{NAME:&quot;Abdul-Wahad, Tariq&quot;},
+&nbsp;&nbsp;&nbsp;{NAME:&quot;Abdul-Wahad, Tariq&quot;}
 &nbsp;&nbsp;&nbsp;/* Other list items */
-}
+]
 </pre></pre>
 </li>
 
@@ -61,14 +59,12 @@ var JSON_DATA =
 /* Get HTML element reference */
 var elList = document.getElementById(&quot;vlist&quot;),
 &nbsp;&nbsp;&nbsp;&nbsp;/* All config options can be found in virtual list reference */
-&nbsp;&nbsp;&nbsp;&nbsp;vlist = tau.widget.VirtualListview(elList, 
-&nbsp;&nbsp;&nbsp;&nbsp;{
+&nbsp;&nbsp;&nbsp;&nbsp;vlist = tau.widget.VirtualListview(elList, {
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dataLength: JSON_DATA.length,
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bufferSize: 40
 &nbsp;&nbsp;&nbsp;&nbsp;});
 /* Update list items */
-vlist.setListItemUpdater(function(elListItem, newIndex) 
-{
+vlist.setListItemUpdater(function(elListItem, newIndex) {
 &nbsp;&nbsp;&nbsp;var data = JSON_DATA[newIndex];
 &nbsp;&nbsp;&nbsp;elListItem.innerHTML = &#39;&lt;span class=&quot;ui-li-text-main&quot;>&#39; + data.NAME + &#39;&lt;/span&gt;&#39;;
 });
@@ -95,8 +91,7 @@ vlist.draw();
 
 <li>When you no longer need the component, destroy it using the <span style="font-family: Courier New,Courier,monospace">destroy()</span> method:</p>
 <pre class="prettyprint">
-page.addEventListener(&quot;pagehide&quot;, function() 
-{
+page.addEventListener(&quot;pagehide&quot;, function() {
 &nbsp;&nbsp;&nbsp;vlist.destroy();
 });
 </pre></li>
@@ -174,6 +169,13 @@ page.addEventListener(&quot;pagehide&quot;, function()
 </tbody>
 </table>
 
+
+<h2>Where to Go Next</h2>
+<ul>
+ <li><a href="widget_reference.htm">UI Component Reference</a></li>
+
+</ul>
+
  <div id="footer"> 
    <hr size="1" /> 
    <font size="1">Except as noted, this content - excluding the Code Examples - is licensed under <a href="http://creativecommons.org/licenses/by/3.0/legalcode" target="_blank">Creative Commons Attribution 3.0</a> and all of the Code Examples contained herein are licensed under <a href="https://www.tizen.org/bsd-3-clause-license" target="_blank">BSD-3-Clause</a>.<br>For details, see the <a href="https://www.tizen.org/content-license" target="_blank">Content License</a>.</font>