http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/f3d58bd0/cn/references/modules/dom.html
----------------------------------------------------------------------
diff --git a/cn/references/modules/dom.html b/cn/references/modules/dom.html
deleted file mode 100644
index fea7727..0000000
--- a/cn/references/modules/dom.html
+++ /dev/null
@@ -1,1396 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
-
- <title>dom | Weex</title>
- <meta name="viewport" content="width=device-width, initial-scale=1,
maximum-scale=1">
- <meta name="description" content="domå
å«å¦ä¸å¯ä»¥æ´æ° dom æ ç dom
APIã è¿é¨åAPIæ¯éè¿æ virtual-dom çæ¶æ¯åéå° native
渲æå¨æ¥åå°çã å¼åè
å¨æ¥å¸¸å¼åä¸ï¼å¯ä¸å¯å¨ .vue
æ件ä¸ä½¿ç¨çæ¯ scrollToElementãä½ ä¹å¯ä»¥è°ç¨ $scrollTo
æ¹æ³æ¥ä½¿ç¨å® è¿ä¸ªé¡µé¢æåçå
¶ä»ç APIï¼åªå¨ callNative
è¿ç¨ä¸ç native 渲æå¨ç¨ãï¼å
³äº callNati">
-<meta property="og:type" content="website">
-<meta property="og:title" content="dom">
-<meta property="og:url"
content="https://weex-project.io/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-16T03:56:24.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">
-
- <link rel="alternate" href="/atom.xml" title="Weex"
type="application/atom+xml">
-
-
- <link rel="icon"
href="//gw.alicdn.com/tps/TB1XNqxPXXXXXcSXVXXXXXXXXXX-64-63.png">
-
-
- <link href="//fonts.googleapis.com/css?family=Source+Code+Pro"
rel="stylesheet" type="text/css">
-
- <link rel="stylesheet" href="/css/style.css">
- <link rel="stylesheet" href="/css/swiper.min.css">
-</head>
-
-<body id="references" class="lang-cn">
-
- <script>
- window.PAGE_TYPE = "references";
- window.ROOT = "/"
- </script>
- <header id="header">
- <div class="navbar">
- <a id="logo" href="/cn/">
- <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
- </a>
- <div class="main-nav">
- <ul class="links">
- <li><a href="/cn/guide">æç¨</a></li>
- <li><a href="/cn/references">æå</a></li>
- <li class="dropdown">
- <a href="javascript:;">åè</a>
- <ul class="dropdown-menu subnav">
- <li>
- <a href="/cn/faq.html">FAQ</a>
- </li>
- <li>
- <a href="/cn/releasenote.html">çæ¬è¯´æ</a>
- </li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="javascript:;">å·¥å
·åæå¡</a>
- <ul class="dropdown-menu subnav">
- <li>
- <a href="/cn/playground.html">Playground</a>
- </li>
- <li>
- <a href="/cn/guide/tools/toolkit.html">Weex-toolkit</a>
- </li>
- <li>
- <a href="http://dotwe.org" target="_blank">Code Snippets</a>
- </li>
- <li>
- <a href="https://market.dotwe.org" target="_blank">Market</a>
- </li>
- </ul>
- </li>
- </ul>
- <ul class="info">
- <li><a href="https://github.com/apache/incubator-weex/"
target="_blank"><span class="btn-github iconfont icon-github"></span></a></li>
- </ul>
- <ul class="tools">
- <li>
- <div class="search">
- <form id="search-form" class="search-form"> <!-- æç´¢æ¡ç¸å
³ -->
- <input type="text" id="search-input-header" name="q" results="0"
class="form-control search-input" autocomplete="off" autocorrect="off"/>
- <span class="iconfont icon-search"></span>
- </form>
- <div class="results-panel">
- </div>
-</div>
- </li>
- <li>
- <div class="dropdown select-lang">
- <a href="javascript:;" class="dropdown-toggle">
- Language
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu pick-lang">
- <li>
- <a href="/references/modules/dom.html"
data-lang="en">English</a>
- </li>
- <li>
- <a href="/cn/references/modules/dom.html"
data-lang="zh-cn">ä¸æ</a>
- </li>
- </ul>
- </div>
- </li>
- <!--<li></li>-->
- </ul>
- </div>
- </div>
- <div id="mobile-nav">
- <a id="logo" href="/cn/">
- <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
- </a>
- <a class="btn-menu"><span class="iconfont icon-nav"></span></a>
- </div>
-</header>
-
- <div id="sidebar" class="">
- <div class="sidebar-menu">
-
- <div class="search">
- <form id="search-form" class="search-form"> <!-- æç´¢æ¡ç¸å
³ -->
- <input type="text" id="search-input-sidebar" name="q" results="0"
class="form-control search-input" autocomplete="off" autocorrect="off"/>
- <span class="iconfont icon-search"></span>
- </form>
- <div class="results-panel">
- </div>
-</div>
-
-
-
-<div class="summary">
- <h2 class="part-title">
-
- æå
-
- </h2>
- <ul class="doc-summary">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/index.html"
class="sidebar-link ">éç¨ç¹æ§</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/ios-apis.html" class="sidebar-link
">iOS APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/android-apis.html" class="sidebar-link
">Android APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/html5-apis.html" class="sidebar-link
">HTML5 APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/jsfm-apis.html" class="sidebar-link
">JS Framework APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/common-style.html" class="sidebar-link
">éç¨æ ·å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/text-style.html" class="sidebar-link
">ææ¬æ ·å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/color-names.html" class="sidebar-link
">é¢è²å称å表</a>
- </li>
-
- <li>
- <a href="/cn/references/gesture.html" class="sidebar-link
">æå¿</a>
- </li>
-
- <li>
- <a href="/cn/references/path.html" class="sidebar-link ">Path
(è±)</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/components/index.html" class="sidebar-link ">å
建ç»ä»¶</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/components/a.html" class="sidebar-link
"><a></a>
- </li>
-
- <li>
- <a href="/cn/references/components/slider.html"
class="sidebar-link "><slider></a>
- </li>
-
- <li>
- <a href="/cn/references/components/indicator.html"
class="sidebar-link "><indicator></a>
- </li>
-
- <li>
- <a href="/cn/references/components/switch.html"
class="sidebar-link "><switch></a>
- </li>
-
- <li>
- <a href="/cn/references/components/text.html"
class="sidebar-link "><text></a>
- </li>
-
- <li>
- <a href="/cn/references/components/textarea.html"
class="sidebar-link "><textarea></a>
- </li>
-
- <li>
- <a href="/cn/references/components/video.html"
class="sidebar-link "><video></a>
- </li>
-
- <li>
- <a href="/cn/references/components/web.html"
class="sidebar-link "><web></a>
- </li>
-
- <li>
- <a href="/cn/references/components/div.html"
class="sidebar-link "><div></a>
- </li>
-
- <li>
- <a href="/cn/references/components/image.html"
class="sidebar-link "><image></a>
- </li>
-
- <li>
- <a href="/cn/references/components/input.html"
class="sidebar-link "><input></a>
- </li>
-
- <li>
- <a href="/cn/references/components/list.html"
class="sidebar-link "><list></a>
- </li>
-
- <li>
- <a href="/cn/references/components/cell.html"
class="sidebar-link "><cell></a>
- </li>
-
- <li>
- <a href="/cn/references/components/loading.html"
class="sidebar-link "><loading></a>
- </li>
-
- <li>
- <a href="/cn/references/components/refresh.html"
class="sidebar-link "><refresh></a>
- </li>
-
- <li>
- <a href="/cn/references/components/scroller.html"
class="sidebar-link "><scroller></a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/modules/index.html"
class="sidebar-link ">å
建模å</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/modules/animation.html"
class="sidebar-link ">animation</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/websocket.html"
class="sidebar-link ">WebSocket</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/picker.html"
class="sidebar-link ">picker</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/clipboard.html"
class="sidebar-link ">clipboard</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/dom.html" class="sidebar-link
current ">dom</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/modal.html"
class="sidebar-link ">modal</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/navigator.html"
class="sidebar-link ">navigator</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/storage.html"
class="sidebar-link ">storage</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/stream.html"
class="sidebar-link ">stream</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/webview.html"
class="sidebar-link ">webview</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/globalevent.html"
class="sidebar-link ">globalEvent</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/unit.html"
class="sidebar-link ">CSS åä½</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/common-event.html"
class="sidebar-link ">éç¨äºä»¶</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/native-dom-api.html"
class="sidebar-link ">Native DOM APIs</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/weex-variable.html"
class="sidebar-link ">Weex å®ä¾åé</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/web-standards.html"
class="sidebar-link ">Web æ å</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/js-service/index.html" class="sidebar-link ">JS
Service</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/vue/index.html"
class="sidebar-link ">Vue</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/vue/difference-with-web.html"
class="sidebar-link ">Vue 2.x å¨ Weex å Web ä¸çå·®å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/vue/difference-of-vuex.html"
class="sidebar-link ">ä½¿ç¨ Vuex å vue-router</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/advanced/index.html"
class="sidebar-link ">é«é¶ç¥è¯</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/advanced/extend-to-ios.html"
class="sidebar-link ">iOS æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-to-android.html"
class="sidebar-link ">Android æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-to-html5.html"
class="sidebar-link ">HTML5 æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-jsfm.html"
class="sidebar-link ">æå± JS framework</a>
- </li>
-
- <li>
- <a
href="/cn/references/advanced/integrate-devtool-to-android.html"
class="sidebar-link ">éæ Devtools å° Android</a>
- </li>
-
- <li>
- <a
href="/cn/references/advanced/integrate-devtool-to-ios.html"
class="sidebar-link ">éæ Devtools å° iOS</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/migration/index.html" class="sidebar-link
">è¿ç§»</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/platform-difference.html"
class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/migration/migration-from-weex.html"
class="sidebar-link ">å¦ä½å°åæ Weex 项ç®æ¹é æ Vue çæ¬</a>
- </li>
-
- <li>
- <a href="/cn/references/migration/difference.html"
class="sidebar-link ">Weex å Vue 2.x çè¯æ³å·®å¼</a>
- </li>
-
- </ul>
-
- </li>
-
-
-
- <li>
- <h3 class="chapter-title"><a href="/cn/v-0.10/references/index.html"
class="sidebar-link">æ§è¯æ³ææ¡£</a></h3>
- </li>
-
- </ul>
-</div>
-
- <a class="btn-close-sidebar iconfont icon-close"></a>
- </div>
-</div>
-
- <div class="article-wrapper page-layout">
- <div class="doc-nav">
-
-
-
-<div class="summary">
- <h2 class="part-title">
-
- æå
-
- </h2>
- <ul class="doc-summary">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/index.html"
class="sidebar-link ">éç¨ç¹æ§</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/ios-apis.html" class="sidebar-link
">iOS APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/android-apis.html" class="sidebar-link
">Android APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/html5-apis.html" class="sidebar-link
">HTML5 APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/jsfm-apis.html" class="sidebar-link
">JS Framework APIs</a>
- </li>
-
- <li>
- <a href="/cn/references/common-style.html" class="sidebar-link
">éç¨æ ·å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/text-style.html" class="sidebar-link
">ææ¬æ ·å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/color-names.html" class="sidebar-link
">é¢è²å称å表</a>
- </li>
-
- <li>
- <a href="/cn/references/gesture.html" class="sidebar-link
">æå¿</a>
- </li>
-
- <li>
- <a href="/cn/references/path.html" class="sidebar-link ">Path
(è±)</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/components/index.html" class="sidebar-link ">å
建ç»ä»¶</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/components/a.html" class="sidebar-link
"><a></a>
- </li>
-
- <li>
- <a href="/cn/references/components/slider.html"
class="sidebar-link "><slider></a>
- </li>
-
- <li>
- <a href="/cn/references/components/indicator.html"
class="sidebar-link "><indicator></a>
- </li>
-
- <li>
- <a href="/cn/references/components/switch.html"
class="sidebar-link "><switch></a>
- </li>
-
- <li>
- <a href="/cn/references/components/text.html"
class="sidebar-link "><text></a>
- </li>
-
- <li>
- <a href="/cn/references/components/textarea.html"
class="sidebar-link "><textarea></a>
- </li>
-
- <li>
- <a href="/cn/references/components/video.html"
class="sidebar-link "><video></a>
- </li>
-
- <li>
- <a href="/cn/references/components/web.html"
class="sidebar-link "><web></a>
- </li>
-
- <li>
- <a href="/cn/references/components/div.html"
class="sidebar-link "><div></a>
- </li>
-
- <li>
- <a href="/cn/references/components/image.html"
class="sidebar-link "><image></a>
- </li>
-
- <li>
- <a href="/cn/references/components/input.html"
class="sidebar-link "><input></a>
- </li>
-
- <li>
- <a href="/cn/references/components/list.html"
class="sidebar-link "><list></a>
- </li>
-
- <li>
- <a href="/cn/references/components/cell.html"
class="sidebar-link "><cell></a>
- </li>
-
- <li>
- <a href="/cn/references/components/loading.html"
class="sidebar-link "><loading></a>
- </li>
-
- <li>
- <a href="/cn/references/components/refresh.html"
class="sidebar-link "><refresh></a>
- </li>
-
- <li>
- <a href="/cn/references/components/scroller.html"
class="sidebar-link "><scroller></a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/modules/index.html"
class="sidebar-link ">å
建模å</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/modules/animation.html"
class="sidebar-link ">animation</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/websocket.html"
class="sidebar-link ">WebSocket</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/picker.html"
class="sidebar-link ">picker</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/clipboard.html"
class="sidebar-link ">clipboard</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/dom.html" class="sidebar-link
current ">dom</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/modal.html"
class="sidebar-link ">modal</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/navigator.html"
class="sidebar-link ">navigator</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/storage.html"
class="sidebar-link ">storage</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/stream.html"
class="sidebar-link ">stream</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/webview.html"
class="sidebar-link ">webview</a>
- </li>
-
- <li>
- <a href="/cn/references/modules/globalevent.html"
class="sidebar-link ">globalEvent</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/unit.html"
class="sidebar-link ">CSS åä½</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/common-event.html"
class="sidebar-link ">éç¨äºä»¶</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/native-dom-api.html"
class="sidebar-link ">Native DOM APIs</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/weex-variable.html"
class="sidebar-link ">Weex å®ä¾åé</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/web-standards.html"
class="sidebar-link ">Web æ å</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/js-service/index.html" class="sidebar-link ">JS
Service</a></h3>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/vue/index.html"
class="sidebar-link ">Vue</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/vue/difference-with-web.html"
class="sidebar-link ">Vue 2.x å¨ Weex å Web ä¸çå·®å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/vue/difference-of-vuex.html"
class="sidebar-link ">ä½¿ç¨ Vuex å vue-router</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a href="/cn/references/advanced/index.html"
class="sidebar-link ">é«é¶ç¥è¯</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/advanced/extend-to-ios.html"
class="sidebar-link ">iOS æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-to-android.html"
class="sidebar-link ">Android æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-to-html5.html"
class="sidebar-link ">HTML5 æ©å±</a>
- </li>
-
- <li>
- <a href="/cn/references/advanced/extend-jsfm.html"
class="sidebar-link ">æå± JS framework</a>
- </li>
-
- <li>
- <a
href="/cn/references/advanced/integrate-devtool-to-android.html"
class="sidebar-link ">éæ Devtools å° Android</a>
- </li>
-
- <li>
- <a
href="/cn/references/advanced/integrate-devtool-to-ios.html"
class="sidebar-link ">éæ Devtools å° iOS</a>
- </li>
-
- </ul>
-
- </li>
-
- <li>
- <h3 class="chapter-title"><a
href="/cn/references/migration/index.html" class="sidebar-link
">è¿ç§»</a></h3>
-
- <ul class="chapter">
-
- <li>
- <a href="/cn/references/platform-difference.html"
class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a>
- </li>
-
- <li>
- <a href="/cn/references/migration/migration-from-weex.html"
class="sidebar-link ">å¦ä½å°åæ Weex 项ç®æ¹é æ Vue çæ¬</a>
- </li>
-
- <li>
- <a href="/cn/references/migration/difference.html"
class="sidebar-link ">Weex å Vue 2.x çè¯æ³å·®å¼</a>
- </li>
-
- </ul>
-
- </li>
-
-
-
- <li>
- <h3 class="chapter-title"><a href="/cn/v-0.10/references/index.html"
class="sidebar-link">æ§è¯æ³ææ¡£</a></h3>
- </li>
-
- </ul>
-</div>
- </div>
-
-
-<article class="article article-type-references">
- <div class="article-entry" itemprop="articleBody">
- <header class="article-header">
-
-
- <h1 class="article-title" itemprop="name">
- dom
- </h1>
-
-
- <time class="article-date" datetime="2017-05-16T03:56:24.000Z">Updated time:
16/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>
-<p>å¼åè
å¨æ¥å¸¸å¼åä¸ï¼å¯ä¸å¯å¨ <code>.vue</code>
æ件ä¸ä½¿ç¨çæ¯ <code>scrollToElement</code>ã<br><del>ä½
ä¹å¯ä»¥è°ç¨ <code>$scrollTo</code> æ¹æ³æ¥ä½¿ç¨å®</del></p>
-<p>è¿ä¸ªé¡µé¢æåçå
¶ä»ç APIï¼åªå¨ <code>callNative</code>
è¿ç¨ä¸ç native 渲æå¨ç¨ã<br>ï¼å
³äº <code>callNative</code>
è¿ç¨çè¿ä¸æ¥ä»ç»ï¼å¯ä»¥å¨ <a
href="../../advanced/how-it-works.html">How it works</a>ä¸ç JS Framework
é¨åçå° ï¼</p>
-<h2 id="API"><a href="#API" class="headerlink" title="API"></a>API</h2><h3
id="scrollToElement-node-options"><a href="#scrollToElement-node-options"
class="headerlink" title="scrollToElement(node,
options)"></a>scrollToElement(node,
options)</h3><p>让页é¢æ»å¨å°é£ä¸ªå¯¹åºçèç¹ï¼è¿ä¸ªAPIåªè½å¨
<code><scroller></code> å <code><list></code> ç»ä»¶ä¸ç¨ã</p>
-<p><del>è¿ä¸ªAPIä¹è½éè¿è°ç¨VMçæ¹æ³ <code>$scrollTo</code>
æ¥ä½¿ç¨ï¼å·²å¼ç¨ï¼</del></p>
-<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></li>
-<li><code>animated {bool}</code>ï¼è®¾ç½®æ¯å¦ææ»å¨å¨ç»ï¼é»è®¤æ¯
true<h4 id="示ä¾"><a href="#示ä¾" class="headerlink"
title="示ä¾"></a>示ä¾</h4></li>
-</ul>
-</li>
-</ul>
-<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>
-<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>
-<p>å¦ææ³è¦è·åå° Weex 容å¨çå¸å±ä¿¡æ¯ï¼å¯ä»¥æå®
<code>ref='viewport'</code>ï¼è°ç¨ä¾åå¦ä¸ï¼</p>
-<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
class="attr">style</span>=<span
class="string">'margin-top:200px'</span>></span></div><div class="line">
<span class="tag"><<span class="name">div</span> <span
class="attr">ref</span>=<span class="string">"box"</span> <span
class="attr">class</span>=<span
class="string">"box"</span>></span></div><div class="line"> <span
class="tag"><<span class="name">text</span> <span
class="attr">class</span>=<span class="string">"info"</span>></span>Width:
{{size.width}}<span class="tag"></<span
class="name">text</span>></span></div><div class="line"> <span
class="tag"><<span class="name">text</span> <span
class="attr">class</span>=<span clas
s="string">"info"</span>></span>Height:
{{size.height}}<span class="tag"></<span
class="name">text</span>></span></div><div class="line"> <span
class="tag"><<span class="name">text</span> <span
class="attr">class</span>=<span class="string">"info"</span>></span>Top:
{{size.top}}<span class="tag"></<span
class="name">text</span>></span></div><div class="line"> <span
class="tag"><<span class="name">text</span> <span
class="attr">class</span>=<span class="string">"info"</span>></span>Bottom:
{{size.bottom}}<span class="tag"></<span
class="name">text</span>></span></div><div class="line"> <span
class="tag"><<span class="name">text</span> <span
class="attr">class</span>=<span class="string">"info"</span>></span>Left:
{{size.left}}<span class="tag"></<span
class="name">text</span>></span></div><div class="line"> <span
class="tag"><<span class=
"name">text</span> <span class="attr">class</span>=<span
class="string">"info"</span>></span>Right:
{{size.right}}<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"> </div><div class="line"> <span class="tag"><<span
class="name">text</span> <span class="attr">class</span>=<span
class="string">"info btn"</span> @<span class="attr">click</span>=<span
class="string">'click()'</span>></span>{{this.tip}}<span
class="tag"></<span class="name">text</span>></span></div><div
class="line"> </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="javascrip
t"></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="function"><span
class="keyword">function</span> <span class="title">round</span>(<span
class="params">size</span>) </span>{</div><div class="line"> <span
class="keyword">var</span> roundSize = {</div><div class="line">
<span class="string">'width'</span>: <span
class="built_in">Math</span>.round(size.width),</div><div class="line">
<span class="string">'height'</span>: <span
class="built_in">Math</span>.round(size.height),</div><div class="line">
<span class="string">'top'</span>: <span
class="built_in">Math</span>.round(size.top),</div><div class="line">
<span class="string">'bottom'</span>: <span
class="built_in">Math</span>.round(size.bottom),</div><div class="line">
<span class="string">'left'</span>: <span class="built_in">Math</span>.rou
nd(size.left),</div><div class="line"> <span
class="string">'right'</span>: <span
class="built_in">Math</span>.round(size.right)</div><div class="line">
}</div><div class="line"> <span class="keyword">return</span>
roundSize</div><div class="line"> }</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">size</span>:
{</div><div class="line"> <span class="attr">width</span>: <span
class="number">0</span>,</div><div class="line"> <span
class="attr">height</span>: <span class="number">0</span>,</div><div
class="line"> <span class="attr">top</span>: <span
class="number">0</span>,</div><div class="line"> <span
class="attr">bottom</span>: <span class="number">0</span>,</div><div class="
line"> <span class="attr">left</span>: <span
class="number">0</span>,</div><div class="line"> <span
class="attr">right</span>: <span class="number">0</span></div><div
class="line"> },</div><div class="line"> <span
class="attr">ref</span>:<span class="string">"viewport"</span>,</div><div
class="line"> <span class="attr">tip</span>:<span class="string">"get
box rect"</span></div><div class="line"> }</div><div class="line">
},</div><div class="line"> mounted () {</div><div class="line">
<span class="keyword">const</span> result = dom.getComponentRect(<span
class="keyword">this</span>.ref, option => {</div><div class="line">
<span class="built_in">console</span>.log(<span
class="string">'getComponentRect:'</span>, option)</div><div class="line">
<span class="keyword">this</span>.size = round.call(<span
class="keyword">this</span>,option.size);</div><div class="line">
})</div><div c
lass="line"> },</div><div class="line"> </div><div class="line">
<span class="attr">methods</span>:{</div><div class="line"> <span
class="attr">click</span>:<span class="function"><span
class="keyword">function</span>(<span class="params"></span>)
</span>{</div><div class="line"> <span class="keyword">if</span>
(<span class="keyword">this</span>.ref === <span
class="string">'viewport'</span>) {</div><div class="line"> <span
class="keyword">this</span>.ref = <span
class="keyword">this</span>.$refs.box;</div><div class="line"> <span
class="keyword">this</span>.tip = <span class="string">"get viewport
rect"</span></div><div class="line"> } <span
class="keyword">else</span> {</div><div class="line"> <span
class="keyword">this</span>.ref = <span
class="string">'viewport'</span></div><div class="line"> <span
class="keyword">this</span>.tip = <span class="string">"get box
rect"</span></div><div cl
ass="line"> }</div><div class="line"> </div><div
class="line"> <span class="keyword">const</span> result =
dom.getComponentRect(<span class="keyword">this</span>.ref, option =>
{</div><div class="line"> <span
class="built_in">console</span>.log(<span
class="string">'getComponentRect:'</span>, option)</div><div class="line">
<span class="keyword">this</span>.size = round.call(<span
class="keyword">this</span>,option.size);</div><div class="line">
})</div><div class="line"> }</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">.btn</span> {</div><div clas
s="line"> <span class="attribute">margin-top</span>:<span
class="number">20px</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-radius</span>:<span
class="number">10px</span>;</div><div class="line"> <span
class="attribute">width</span>:<span class="number">300px</span>;</div><div
class="line"> <span class="attribute">margin-left</span>:<span
class="number">170px</span>;</div><div class="line"> <span
class="attribute">padding-left</span>:<span
class="number">35px</span>;</div><div class="line"> <span
class="attribute">border-color</span>: <span class="built_in">rgb</span>(162,
217, 192);</div><div class="line"> </div><div class="line">
}</div><div class="line"> <span class="selector-class">.btn</span><span
class="selector-pseudo">:active</span> {</div><div c
lass="line"> <span class="attribute">background-color</span>: <span
class="number">#8fbc8f</span>;</div><div class="line">22<span
class="attribute">border-color</span>: gray;</div><div class="line">
}</div><div class="line"> </div><div class="line"> <span
class="selector-class">.box</span> {</div><div class="line"> <span
class="attribute">align-items</span>:center;</div><div class="line"> <span
class="attribute">margin-left</span>: <span
class="number">150px</span>;</div><div class="line"> <span
class="attribute">width</span>: <span class="number">350px</span>;</div><div
class="line"> <span class="attribute">height</span>: <span
class="number">400px</span>;</div><div class="line"> <span
class="attribute">background-color</span>: <span
class="number">#DDD</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="selector-class">.info</span>
{</div><div class="line"> <span class="attribute">font-size</span>:
<span class="number">40px</span>;</div><div class="line"> <span
class="attribute">top</span>:<span class="number">30px</span>;</div><div
class="line"> <span class="attribute">margin-left</span>:<span
class="number">20px</span>;</div><div class="line"> <span
class="attribute">font-family</span>: Consolas, <span
class="string">"Liberation Mono"</span>, Menlo, Courier, monospace;</div><div
class="line"> <span class="attribute">color</span>: <span
class="number">#41B883</span>;</div><div class="line"> }</div><div
class="line"><span class="tag"></<span cl
ass="name">style</span>></span></div></pre></td></tr></table></figure>
-<p><a href="http://dotwe.org/vue/d069a9bf0f0781b914f12a9a7b9a1447"
target="_blank" rel="external">try it</a></p>
-<h2 id="å
¶ä»"><a href="#å
¶ä»" class="headerlink" title="å
¶ä»"></a>å
¶ä»</h2><p>dom è¿æä¸äºåºå±æ¥å£ç¨äºå建 Weex
å®ä¾æ¶è°ç¨ï¼æ¯å¦ <code>createBody</code>ã<code>updateAttrs</code>
çï¼ä½å¹¶æªå¼æ¾ä¾å¤é¨ä½¿ç¨ã</p>
-
- </div>
-
-</article>
-</div>
-
- <footer id="footer">
- <div class="row clearfix">
- <div class="dropdown select-lang">
- <a href="javascript:;" class="dropdown-toggle">
- Language
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu pick-lang">
- <li>
- <a href="/references/modules/dom.html" data-lang="en">English</a>
- </li>
- <li>
- <a href="/cn/references/modules/dom.html"
data-lang="zh-cn">ä¸æ</a>
- </li>
- </ul>
- </div>
- </div>
- <div class="disclaimer">
- <div><img
src="//gw.alicdn.com/tfs/TB1pTBZQFXXXXX9XXXXXXXXXXXX-794-280.png" width="200px"
alt="Apache Incubator"></div>
- <div><span class="title">Disclaimer:</span> Apache Weex is an effort
undergoing incubation at The Apache Software Foundation (ASF), sponsored by the
Apache Incubator. Incubation is required of all newly accepted projects until a
further review indicates that the infrastructure, communications, and decision
making process have stabilized in a manner consistent with other successful ASF
projects. While incubation status is not necessarily a reflection of the
completeness or stability of the code, it does indicate that the project has
yet to be fully endorsed by the ASF.</div>
- <br/>
- </div>
- <hr>
- <div class="row">
- <p> <img src="//gw.alicdn.com/tfs/TB1bg8SQFXXXXcHXXXXXXXXXXXX-85-170.png"
height="50px" alt="Apache"><span>Copyright(c) 2017 The Apache Software
Foundation. Licensed under the </span> <a
href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a></p>
- </div>
- <div class="row clearfix">
- <div></div>
- </div>
-</footer>
- <div style="display: none;">
- <script src="//s95.cnzz.com/z_stat.php?id=1261496509&web_id=1261496509"
language="JavaScript"></script>
-</div>
-
- <script src="/js/reqwest.js"></script>
- <script src="/js/common.js"></script>
-</body>
-</html>