http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/cefd3b3f/content/cn/references/modules/animation.html ---------------------------------------------------------------------- diff --git a/content/cn/references/modules/animation.html b/content/cn/references/modules/animation.html index f0778c8..414ddb2 100644 --- a/content/cn/references/modules/animation.html +++ b/content/cn/references/modules/animation.html @@ -456,11 +456,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -497,11 +497,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -533,11 +533,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -570,11 +570,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -694,12 +694,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1056,11 +1056,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -1097,11 +1097,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -1133,11 +1133,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -1170,11 +1170,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -1294,12 +1294,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/cefd3b3f/content/cn/references/modules/clipboard.html ---------------------------------------------------------------------- diff --git a/content/cn/references/modules/clipboard.html b/content/cn/references/modules/clipboard.html index b63c46d..905f3b4 100644 --- a/content/cn/references/modules/clipboard.html +++ b/content/cn/references/modules/clipboard.html @@ -456,11 +456,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -497,11 +497,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -533,11 +533,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -570,11 +570,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -694,12 +694,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1056,11 +1056,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -1097,11 +1097,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -1133,11 +1133,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -1170,11 +1170,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -1294,12 +1294,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/cefd3b3f/content/cn/references/modules/dom.html ---------------------------------------------------------------------- diff --git a/content/cn/references/modules/dom.html b/content/cn/references/modules/dom.html index eec0858..abf1b37 100644 --- a/content/cn/references/modules/dom.html +++ b/content/cn/references/modules/dom.html @@ -11,7 +11,7 @@ <meta property="og:url" content="https://weex.apache.org/cn/references/modules/dom.html"> <meta property="og:site_name" content="Weex"> <meta property="og:description" content="domå å«å¦ä¸å¯ä»¥æ´æ° dom æ ç dom APIã è¿é¨åAPIæ¯éè¿æ virtual-dom çæ¶æ¯åéå° native 渲æå¨æ¥åå°çã å¼åè å¨æ¥å¸¸å¼åä¸ï¼å¯ä¸å¯å¨ .vue æ件ä¸ä½¿ç¨çæ¯ scrollToElementãä½ ä¹å¯ä»¥è°ç¨ $scrollTo æ¹æ³æ¥ä½¿ç¨å® è¿ä¸ªé¡µé¢æåçå ¶ä»ç APIï¼åªå¨ callNative è¿ç¨ä¸ç native 渲æå¨ç¨ãï¼å ³äº callNati"> -<meta property="og:updated_time" content="2017-05-17T07:17:41.000Z"> +<meta property="og:updated_time" content="2017-05-17T08:50:59.000Z"> <meta name="twitter:card" content="summary"> <meta name="twitter:title" content="dom"> <meta name="twitter:description" content="domå å«å¦ä¸å¯ä»¥æ´æ° dom æ ç dom APIã è¿é¨åAPIæ¯éè¿æ virtual-dom çæ¶æ¯åéå° native 渲æå¨æ¥åå°çã å¼åè å¨æ¥å¸¸å¼åä¸ï¼å¯ä¸å¯å¨ .vue æ件ä¸ä½¿ç¨çæ¯ scrollToElementãä½ ä¹å¯ä»¥è°ç¨ $scrollTo æ¹æ³æ¥ä½¿ç¨å® è¿ä¸ªé¡µé¢æåçå ¶ä»ç APIï¼åªå¨ callNative è¿ç¨ä¸ç native 渲æå¨ç¨ãï¼å ³äº callNati"> @@ -456,11 +456,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -497,11 +497,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -533,11 +533,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -570,11 +570,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -694,12 +694,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1056,11 +1056,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -1097,11 +1097,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -1133,11 +1133,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -1170,11 +1170,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -1294,12 +1294,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1330,7 +1330,7 @@ </h1> - <time class="article-date" datetime="2017-05-17T07:17:41.000Z">Updated time: 17/05/2017</time> + <time class="article-date" datetime="2017-05-17T08:50:59.000Z">Updated time: 17/05/2017</time> </header> <h1 id="dom"><a href="#dom" class="headerlink" title="dom"></a>dom</h1><p>å å«å¦ä¸å¯ä»¥æ´æ° dom æ ç dom APIã</p> <p>è¿é¨åAPIæ¯éè¿æ virtual-dom çæ¶æ¯åéå° native 渲æå¨æ¥åå°çã</p> @@ -1341,29 +1341,11 @@ <p>è¦å¨ä½ ç <code>.vue</code> æ件ä¸ä½¿ç¨è¿ä¸ª APIï¼å¯ä»¥ä½¿ç¨ <code>weex.requireModule('dom').scrollToElement</code>ã</p> <h4 id="åæ°"><a href="#åæ°" class="headerlink" title="åæ°"></a>åæ°</h4><ul> <li><code>node {Node}</code>ï¼ä½ è¦æ»å¨å°çé£ä¸ªèç¹</li> -<li><code>options {Object}</code>ï¼å¦ä¸é项<ul> -<li><code>offset {number}</code>ï¼ä¸ä¸ªå°å ¶å¯è§ä½ç½®çå移è·ç¦»ï¼é»è®¤æ¯ <code>0</code><br><<<<<<< HEAD</li> -<li><h1 id="animated-bool-ï¼è®¾ç½®æ¯å¦ææ»å¨å¨ç»ï¼é»è®¤æ¯-true"><a href="#animated-bool-ï¼è®¾ç½®æ¯å¦ææ»å¨å¨ç»ï¼é»è®¤æ¯-true" class="headerlink" title="animated {bool}ï¼è®¾ç½®æ¯å¦ææ»å¨å¨ç»ï¼é»è®¤æ¯ true"></a><code>animated {bool}</code>ï¼è®¾ç½®æ¯å¦ææ»å¨å¨ç»ï¼é»è®¤æ¯ true</h1></li> +<li><code>options {Object}</code>ï¼å¦ä¸é项</li> +<li><code>offset {number}</code>ï¼ä¸ä¸ªå°å ¶å¯è§ä½ç½®çå移è·ç¦»ï¼é»è®¤æ¯ <code>0</code></li> <li><code>animated {boolean}</code> <sup class="wx-v">0.10+</sup>ï¼æ¯å¦éè¦é带æ»å¨å¨ç»ï¼é»è®¤æ¯<code>true</code></li> </ul> -</li> -</ul> -<blockquote> -<blockquote> -<blockquote> -<blockquote> -<blockquote> -<blockquote> -<blockquote> -<p>c4fa292f00f2637a6a92760f56b0d41db6601c8d</p> -<h4 id="示ä¾"><a href="#示ä¾" class="headerlink" title="示ä¾"></a>示ä¾</h4></blockquote> -</blockquote> -</blockquote> -</blockquote> -</blockquote> -</blockquote> -</blockquote> -<figure class="highlight html"><table><tr><td class="code"><pre><div class="line"><span class="tag"><<span class="name">template</span>></span></div><div class="line"> <span class="tag"><<span class="name">div</span> <span class="attr">class</span>=<span class="string">"wrapper"</span>></span></div><div class="line"> <span class="tag"><<span class="name">scroller</span> <span class="attr">class</span>=<span class="string">"scroller"</span>></span></div><div class="line"> <span class="tag"><<span class="name">div</span> <span class="attr">class</span>=<span class="string">"row"</span> <span class="attr">v-for</span>=<span class="string">"(name, index) in rows"</span> <span class="attr">:ref</span>=<span class="string">"'item'+index"</span>></span></div><div class="line"> <span class="tag"><<span class="name">text</span> <span class="attr">class</span>=<span class="string">"text"</span> <span class="attr">:ref</span>=<span class="string">"'te xt'+index"</span>></span>{{name}}<span class="tag"></<span class="name">text</span>></span></div><div class="line"> <span class="tag"></<span class="name">div</span>></span></div><div class="line"> <span class="tag"></<span class="name">scroller</span>></span></div><div class="line"> <span class="tag"><<span class="name">div</span> <span class="attr">class</span>=<span class="string">"group"</span>></span></div><div class="line"> <span class="tag"><<span class="name">text</span> @<span class="attr">click</span>=<span class="string">"goto10"</span> <span class="attr">class</span>=<span class="string">"button"</span>></span>Go to 10<span class="tag"></<span class="name">text</span>></span></div><div class="line"> <span class="tag"><<span class="name">text</span> @<span class="attr">click</span>=<span class="string">"goto20"</span> <span class="attr">class</span>=<span class="string">"button"</span>>< /span>Go to 20<span class="tag"></<span class="name">text</span>></span></div><div class="line"> <span class="tag"></<span class="name">div</span>></span></div><div class="line"> <span class="tag"></<span class="name">div</span>></span></div><div class="line"><span class="tag"></<span class="name">template</span>></span></div><div class="line"></div><div class="line"><span class="tag"><<span class="name">script</span>></span><span class="javascript"></span></div><div class="line"> <span class="keyword">const</span> dom = weex.requireModule(<span class="string">'dom'</span>)</div><div class="line"></div><div class="line"> <span class="keyword">export</span> <span class="keyword">default</span> {</div><div class="line"> data () {</div><div class="line"> <span class="keyword">return</span> {</div><div class="line"> <span class="attr">rows</span>: []</div><div class="line"> }</div><div class="line"> },</ div><div class="line"> created () {</div><div class="line"> <span class="keyword">for</span> (<span class="keyword">let</span> i = <span class="number">0</span>; i < <span class="number">30</span>; i++) {</div><div class="line"> <span class="keyword">this</span>.rows.push(<span class="string">'row '</span> + i)</div><div class="line"> }</div><div class="line"> },</div><div class="line"> <span class="attr">methods</span>: {</div><div class="line"> goto10 (count) {</div><div class="line"> <span class="keyword">const</span> el = <span class="keyword">this</span>.$refs.item10[<span class="number">0</span>]</div><div class="line"> dom.scrollToElement(el, {})</div><div class="line"> },</div><div class="line"> goto20 (count) {</div><div class="line"> <span class="keyword">const</span> el = <span class="keyword">this</span>.$refs.item20[<span class="number">0</span>]</div><div class="line"> dom.scrollToElement(el, { <span class="attr">offset</span>: <span class="number">0</span> })</div><div class="line"> }</div><div class="line"> }</div><div class="line"> }</div><div class="line"><span class="tag"></<span class="name">script</span>></span></div><div class="line"></div><div class="line"><span class="tag"><<span class="name">style</span> <span class="attr">scoped</span>></span><span class="css"></span></div><div class="line"> <span class="selector-class">.scroller</span> {</div><div class="line"> <span class="attribute">width</span>: <span class="number">700px</span>;</div><div class="line"> <span class="attribute">height</span>: <span class="number">700px</span>;</div><div class="line"> <span class="attribute">border-width</span>: <span class="number">3px</span>;</div><div class="line"> <span class="attribute">border-style</span>: solid;</div><div class="line"> <span class="attribut e">border-color</span>: <span class="built_in">rgb</span>(162, 217, 192);</div><div class="line"> <span class="attribute">margin-left</span>: <span class="number">25px</span>;</div><div class="line"> }</div><div class="line"> <span class="selector-class">.row</span> {</div><div class="line"> <span class="attribute">height</span>: <span class="number">100px</span>;</div><div class="line"> <span class="attribute">flex-direction</span>: column;</div><div class="line"> <span class="attribute">justify-content</span>: center;</div><div class="line"> <span class="attribute">padding-left</span>: <span class="number">30px</span>;</div><div class="line"> <span class="attribute">border-bottom-width</span>: <span class="number">2px</span>;</div><div class="line"> <span class="attribute">border-bottom-style</span>: solid;</div><div class="line"> <span class="attribute">border-bottom-color</span>: <span class="number">#DDDDDD</span>;</div><div class="line"> &# 125;</div><div class="line"> <span class="selector-class">.text</span> {</div><div class="line"> <span class="attribute">font-size</span>: <span class="number">45px</span>;</div><div class="line"> <span class="attribute">color</span>: <span class="number">#666666</span>;</div><div class="line"> }</div><div class="line"> <span class="selector-class">.group</span> {</div><div class="line"> <span class="attribute">flex-direction</span>: row;</div><div class="line"> <span class="comment">/*justify-content: space-around;*/</span></div><div class="line"> <span class="attribute">justify-content</span>: center;</div><div class="line"> <span class="attribute">margin-top</span>: <span class="number">60px</span>;</div><div class="line"> }</div><div class="line"> <span class="selector-class">.button</span> {</div><div class="line"> <span class="attribute">width</span>: <span class="number">200px</span>;</div><div class="line"> <span class="a ttribute">padding-top</span>: <span class="number">20px</span>;</div><div class="line"> <span class="attribute">padding-bottom</span>: <span class="number">20px</span>;</div><div class="line"> <span class="attribute">font-size</span>: <span class="number">40px</span>;</div><div class="line"> <span class="attribute">margin-left</span>: <span class="number">30px</span>;</div><div class="line"> <span class="attribute">margin-right</span>: <span class="number">30px</span>;</div><div class="line"> <span class="attribute">text-align</span>: center;</div><div class="line"> <span class="attribute">color</span>: <span class="number">#41B883</span>;</div><div class="line"> <span class="attribute">border-width</span>: <span class="number">2px</span>;</div><div class="line"> <span class="attribute">border-style</span>: solid;</div><div class="line"> <span class="attribute">border-color</span>: <span class="built_in">rgb</span>(162, 217, 192);</div><div class="line"> <span class="attribute">background-color</span>: <span class="built_in">rgba</span>(162, 217, 192, 0.2);</div><div class="line"> }</div><div class="line"><span class="tag"></<span class="name">style</span>></span></div></pre></td></tr></table></figure> +<h4 id="示ä¾"><a href="#示ä¾" class="headerlink" title="示ä¾"></a>示ä¾</h4><figure class="highlight html"><table><tr><td class="code"><pre><div class="line"><span class="tag"><<span class="name">template</span>></span></div><div class="line"> <span class="tag"><<span class="name">div</span> <span class="attr">class</span>=<span class="string">"wrapper"</span>></span></div><div class="line"> <span class="tag"><<span class="name">scroller</span> <span class="attr">class</span>=<span class="string">"scroller"</span>></span></div><div class="line"> <span class="tag"><<span class="name">div</span> <span class="attr">class</span>=<span class="string">"row"</span> <span class="attr">v-for</span>=<span class="string">"(name, index) in rows"</span> <span class="attr">:ref</span>=<span class="string">"'item'+index"</span>></span></div><div class="line"> <span class="tag"><<span class="name">text</span> <span class="attr">class</span>=<span cl ass="string">"text"</span> <span class="attr">:ref</span>=<span class="string">"'text'+index"</span>></span>{{name}}<span class="tag"></<span class="name">text</span>></span></div><div class="line"> <span class="tag"></<span class="name">div</span>></span></div><div class="line"> <span class="tag"></<span class="name">scroller</span>></span></div><div class="line"> <span class="tag"><<span class="name">div</span> <span class="attr">class</span>=<span class="string">"group"</span>></span></div><div class="line"> <span class="tag"><<span class="name">text</span> @<span class="attr">click</span>=<span class="string">"goto10"</span> <span class="attr">class</span>=<span class="string">"button"</span>></span>Go to 10<span class="tag"></<span class="name">text</span>></span></div><div class="line"> <span class="tag"><<span class="name">text</span> @<span class="attr">click</span>=<span class="string">"goto2 0"</span> <span class="attr">class</span>=<span class="string">"button"</span>></span>Go to 20<span class="tag"></<span class="name">text</span>></span></div><div class="line"> <span class="tag"></<span class="name">div</span>></span></div><div class="line"> <span class="tag"></<span class="name">div</span>></span></div><div class="line"><span class="tag"></<span class="name">template</span>></span></div><div class="line"></div><div class="line"><span class="tag"><<span class="name">script</span>></span><span class="javascript"></span></div><div class="line"> <span class="keyword">const</span> dom = weex.requireModule(<span class="string">'dom'</span>)</div><div class="line"></div><div class="line"> <span class="keyword">export</span> <span class="keyword">default</span> {</div><div class="line"> data () {</div><div class="line"> <span class="keyword">return</span> {</div><div class="line"> <span class="attr">rows< /span>: []</div><div class="line"> }</div><div class="line"> },</div><div class="line"> created () {</div><div class="line"> <span class="keyword">for</span> (<span class="keyword">let</span> i = <span class="number">0</span>; i < <span class="number">30</span>; i++) {</div><div class="line"> <span class="keyword">this</span>.rows.push(<span class="string">'row '</span> + i)</div><div class="line"> }</div><div class="line"> },</div><div class="line"> <span class="attr">methods</span>: {</div><div class="line"> goto10 (count) {</div><div class="line"> <span class="keyword">const</span> el = <span class="keyword">this</span>.$refs.item10[<span class="number">0</span>]</div><div class="line"> dom.scrollToElement(el, {})</div><div class="line"> },</div><div class="line"> goto20 (count) {</div><div class="line"> <span class="keyword">const</span> el = <span class="keyword">this</span>.$refs.item20[<span class="number">0</span>]</div><div class="line"> dom.scrollToElement(el, { <span class="attr">offset</span>: <span class="number">0</span> })</div><div class="line"> }</div><div class="line"> }</div><div class="line"> }</div><div class="line"><span class="tag"></<span class="name">script</span>></span></div><div class="line"></div><div class="line"><span class="tag"><<span class="name">style</span> <span class="attr">scoped</span>></span><span class="css"></span></div><div class="line"> <span class="selector-class">.scroller</span> {</div><div class="line"> <span class="attribute">width</span>: <span class="number">700px</span>;</div><div class="line"> <span class="attribute">height</span>: <span class="number">700px</span>;</div><div class="line"> <span class="attribute">border-width</span>: <span class="number">3px</span>;</div><div class="line"> <span class="attr ibute">border-style</span>: solid;</div><div class="line"> <span class="attribute">border-color</span>: <span class="built_in">rgb</span>(162, 217, 192);</div><div class="line"> <span class="attribute">margin-left</span>: <span class="number">25px</span>;</div><div class="line"> }</div><div class="line"> <span class="selector-class">.row</span> {</div><div class="line"> <span class="attribute">height</span>: <span class="number">100px</span>;</div><div class="line"> <span class="attribute">flex-direction</span>: column;</div><div class="line"> <span class="attribute">justify-content</span>: center;</div><div class="line"> <span class="attribute">padding-left</span>: <span class="number">30px</span>;</div><div class="line"> <span class="attribute">border-bottom-width</span>: <span class="number">2px</span>;</div><div class="line"> <span class="attribute">border-bottom-style</span>: solid;</div><div class="line"> <span class="attribute">border-bo ttom-color</span>: <span class="number">#DDDDDD</span>;</div><div class="line"> }</div><div class="line"> <span class="selector-class">.text</span> {</div><div class="line"> <span class="attribute">font-size</span>: <span class="number">45px</span>;</div><div class="line"> <span class="attribute">color</span>: <span class="number">#666666</span>;</div><div class="line"> }</div><div class="line"> <span class="selector-class">.group</span> {</div><div class="line"> <span class="attribute">flex-direction</span>: row;</div><div class="line"> <span class="comment">/*justify-content: space-around;*/</span></div><div class="line"> <span class="attribute">justify-content</span>: center;</div><div class="line"> <span class="attribute">margin-top</span>: <span class="number">60px</span>;</div><div class="line"> }</div><div class="line"> <span class="selector-class">.button</span> {</div><div class="line"> <span class="attribute">width</ span>: <span class="number">200px</span>;</div><div class="line"> <span class="attribute">padding-top</span>: <span class="number">20px</span>;</div><div class="line"> <span class="attribute">padding-bottom</span>: <span class="number">20px</span>;</div><div class="line"> <span class="attribute">font-size</span>: <span class="number">40px</span>;</div><div class="line"> <span class="attribute">margin-left</span>: <span class="number">30px</span>;</div><div class="line"> <span class="attribute">margin-right</span>: <span class="number">30px</span>;</div><div class="line"> <span class="attribute">text-align</span>: center;</div><div class="line"> <span class="attribute">color</span>: <span class="number">#41B883</span>;</div><div class="line"> <span class="attribute">border-width</span>: <span class="number">2px</span>;</div><div class="line"> <span class="attribute">border-style</span>: solid;</div><div class="line"> <span class="attribute">border-color< /span>: <span class="built_in">rgb</span>(162, 217, 192);</div><div class="line"> <span class="attribute">background-color</span>: <span class="built_in">rgba</span>(162, 217, 192, 0.2);</div><div class="line"> }</div><div class="line"><span class="tag"></<span class="name">style</span>></span></div></pre></td></tr></table></figure> <p><a href="http://dotwe.org/vue/56e0d256cbb26facd958dbd6424f42b2" target="_blank" rel="external">try it</a></p> <h3 id="getComponentRect-ref-callback-v0-9-4"><a href="#getComponentRect-ref-callback-v0-9-4" class="headerlink" title="getComponentRect(ref, callback) v0.9.4+"></a>getComponentRect(ref, callback) <span class="api-version">v0.9.4+</span></h3><p>éè¿æ ç¾ç <code>ref</code> è·å¾å ¶å¸å±ä¿¡æ¯ï¼è¿åçä¿¡æ¯å¨ <code>callBack</code> ä¸ï¼æ ¼å¼åèå¦ä¸ï¼</p> <figure class="highlight"><table><tr><td class="code"><pre><div class="line">{</div><div class="line"> result: true,</div><div class="line"> size: {</div><div class="line"> bottom: 60,</div><div class="line"> height: 15,</div><div class="line"> left: 0,</div><div class="line"> right: 353,</div><div class="line"> top: 45,</div><div class="line"> width: 353</div><div class="line"> }</div><div class="line">}</div></pre></td></tr></table></figure> http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/cefd3b3f/content/cn/references/modules/globalevent.html ---------------------------------------------------------------------- diff --git a/content/cn/references/modules/globalevent.html b/content/cn/references/modules/globalevent.html index eba0d86..1b32d69 100644 --- a/content/cn/references/modules/globalevent.html +++ b/content/cn/references/modules/globalevent.html @@ -456,11 +456,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -497,11 +497,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -533,11 +533,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -570,11 +570,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -694,12 +694,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1056,11 +1056,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -1097,11 +1097,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -1133,11 +1133,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -1170,11 +1170,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -1294,12 +1294,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/cefd3b3f/content/cn/references/modules/index.html ---------------------------------------------------------------------- diff --git a/content/cn/references/modules/index.html b/content/cn/references/modules/index.html index f845348..f271252 100644 --- a/content/cn/references/modules/index.html +++ b/content/cn/references/modules/index.html @@ -456,11 +456,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -497,11 +497,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -533,11 +533,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -570,11 +570,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -694,12 +694,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1056,11 +1056,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -1097,11 +1097,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -1133,11 +1133,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -1170,11 +1170,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -1294,12 +1294,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/cefd3b3f/content/cn/references/modules/modal.html ---------------------------------------------------------------------- diff --git a/content/cn/references/modules/modal.html b/content/cn/references/modules/modal.html index b445338..701f645 100644 --- a/content/cn/references/modules/modal.html +++ b/content/cn/references/modules/modal.html @@ -456,11 +456,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -497,11 +497,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -533,11 +533,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -570,11 +570,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -694,12 +694,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1056,11 +1056,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -1097,11 +1097,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -1133,11 +1133,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -1170,11 +1170,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -1294,12 +1294,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/cefd3b3f/content/cn/references/modules/navigator.html ---------------------------------------------------------------------- diff --git a/content/cn/references/modules/navigator.html b/content/cn/references/modules/navigator.html index 8c14cdb..03b6ffd 100644 --- a/content/cn/references/modules/navigator.html +++ b/content/cn/references/modules/navigator.html @@ -456,11 +456,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -497,11 +497,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -533,11 +533,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -570,11 +570,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -694,12 +694,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1056,11 +1056,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -1097,11 +1097,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -1133,11 +1133,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -1170,11 +1170,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -1294,12 +1294,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/cefd3b3f/content/cn/references/modules/picker.html ---------------------------------------------------------------------- diff --git a/content/cn/references/modules/picker.html b/content/cn/references/modules/picker.html index a9da8b7..12a00df 100644 --- a/content/cn/references/modules/picker.html +++ b/content/cn/references/modules/picker.html @@ -456,11 +456,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -497,11 +497,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -533,11 +533,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -570,11 +570,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link current ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link current ">picker</a> </li> <li> @@ -694,12 +694,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1056,11 +1056,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -1097,11 +1097,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -1133,11 +1133,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -1170,11 +1170,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link current ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link current ">picker</a> </li> <li> @@ -1294,12 +1294,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/cefd3b3f/content/cn/references/modules/storage.html ---------------------------------------------------------------------- diff --git a/content/cn/references/modules/storage.html b/content/cn/references/modules/storage.html index 1e470f2..dcac92e 100644 --- a/content/cn/references/modules/storage.html +++ b/content/cn/references/modules/storage.html @@ -456,11 +456,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -497,11 +497,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -533,11 +533,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -570,11 +570,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -694,12 +694,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1056,11 +1056,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -1097,11 +1097,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -1133,11 +1133,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -1170,11 +1170,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -1294,12 +1294,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/cefd3b3f/content/cn/references/modules/stream.html ---------------------------------------------------------------------- diff --git a/content/cn/references/modules/stream.html b/content/cn/references/modules/stream.html index 7664420..8df78a6 100644 --- a/content/cn/references/modules/stream.html +++ b/content/cn/references/modules/stream.html @@ -456,11 +456,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -497,11 +497,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -533,11 +533,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -570,11 +570,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -694,12 +694,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li> @@ -1056,11 +1056,11 @@ </li> <li> - <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> + <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> </li> <li> - <a href="/cn/references/html5-apis.html" class="sidebar-link ">HTML5 APIs</a> + <a href="/cn/references/jsfm-apis.html" class="sidebar-link ">JS Framework APIs</a> </li> <li> @@ -1097,11 +1097,11 @@ </li> <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> + <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> </li> <li> - <a href="/cn/references/components/indicator.html" class="sidebar-link "><indicator></a> + <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></a> </li> <li> @@ -1133,11 +1133,11 @@ </li> <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> + <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> </li> <li> - <a href="/cn/references/components/list.html" class="sidebar-link "><list></a> + <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> </li> <li> @@ -1170,11 +1170,11 @@ </li> <li> - <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> + <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> </li> <li> - <a href="/cn/references/modules/websocket.html" class="sidebar-link ">WebSocket</a> + <a href="/cn/references/modules/picker.html" class="sidebar-link ">picker</a> </li> <li> @@ -1294,12 +1294,12 @@ </li> <li> - <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a></h3> + <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> <ul class="chapter"> <li> - <a href="/cn/references/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a> + <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</a> </li> <li>