http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/d332a30e/cn/references/native-dom-api.html ---------------------------------------------------------------------- diff --git a/cn/references/native-dom-api.html b/cn/references/native-dom-api.html deleted file mode 100644 index 7be3b90..0000000 --- a/cn/references/native-dom-api.html +++ /dev/null @@ -1,1557 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="utf-8"> - - <title>Native DOM APIs | Weex</title> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> - <meta name="description" content="Native DOM APIsWeex å¨ JS å¼æä¸ï¼ä¸ºæ¯ä¸ªé¡µé¢é½æä¾äºä¸å¥ Native DOM APIsï¼è¿å¥æ¥å£å HTML DOM APIs é常æ¥è¿ï¼å©ç¨è¿å¥æ¥å£æ们å¯ä»¥éè¿ JavaScript æ§å¶ native ç渲æé»è¾ãèä¸ Weex ä¸å±ç Vue 2.0 ä¹æ¯åºäºè¿å¥æ¥å£è¿è¡éé çã ç»å¤§å¤æ°æ åµä¸ JS æ¡æ¶ä¼æ Native DOM APIs é½å°è£ 好ï¼å¼åè ä¸éè¦"> -<meta property="og:type" content="website"> -<meta property="og:title" content="Native DOM APIs"> -<meta property="og:url" content="https://weex-project.io/cn/references/native-dom-api.html"> -<meta property="og:site_name" content="Weex"> -<meta property="og:description" content="Native DOM APIsWeex å¨ JS å¼æä¸ï¼ä¸ºæ¯ä¸ªé¡µé¢é½æä¾äºä¸å¥ Native DOM APIsï¼è¿å¥æ¥å£å HTML DOM APIs é常æ¥è¿ï¼å©ç¨è¿å¥æ¥å£æ们å¯ä»¥éè¿ JavaScript æ§å¶ native ç渲æé»è¾ãèä¸ Weex ä¸å±ç Vue 2.0 ä¹æ¯åºäºè¿å¥æ¥å£è¿è¡éé çã ç»å¤§å¤æ°æ åµä¸ JS æ¡æ¶ä¼æ Native DOM APIs é½å°è£ 好ï¼å¼åè ä¸éè¦"> -<meta property="og:updated_time" content="2017-04-28T02:36:21.000Z"> -<meta name="twitter:card" content="summary"> -<meta name="twitter:title" content="Native DOM APIs"> -<meta name="twitter:description" content="Native DOM APIsWeex å¨ JS å¼æä¸ï¼ä¸ºæ¯ä¸ªé¡µé¢é½æä¾äºä¸å¥ Native DOM APIsï¼è¿å¥æ¥å£å HTML DOM APIs é常æ¥è¿ï¼å©ç¨è¿å¥æ¥å£æ们å¯ä»¥éè¿ JavaScript æ§å¶ native ç渲æé»è¾ãèä¸ Weex ä¸å±ç Vue 2.0 ä¹æ¯åºäºè¿å¥æ¥å£è¿è¡éé çã ç»å¤§å¤æ°æ åµä¸ JS æ¡æ¶ä¼æ Native DOM APIs é½å°è£ 好ï¼å¼åè ä¸éè¦"> - - <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/native-dom-api.html" data-lang="en">English</a> - </li> - <li> - <a href="/cn/references/native-dom-api.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="doc-nav-version"> - <select class="versionBtn" stype="/cn/references"> - - <option value="2v" selected>v2.x</option> - <option value="1v">v1.x</option> - - </select> -</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/indicator.html" class="sidebar-link "><indicator></a> - </li> - - <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></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/list.html" class="sidebar-link "><list></a> - </li> - - <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> - </li> - - <li> - <a href="/cn/references/components/waterfall.html" class="sidebar-link "><waterfall></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 ">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 current ">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/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> - - <ul class="chapter"> - - <li> - <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</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> - - - </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="doc-nav-version"> - <select class="versionBtn" stype="/cn/references"> - - <option value="2v" selected>v2.x</option> - <option value="1v">v1.x</option> - - </select> -</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/indicator.html" class="sidebar-link "><indicator></a> - </li> - - <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></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/list.html" class="sidebar-link "><list></a> - </li> - - <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> - </li> - - <li> - <a href="/cn/references/components/waterfall.html" class="sidebar-link "><waterfall></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 ">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 current ">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/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> - - <ul class="chapter"> - - <li> - <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</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> - - - </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"> - Native DOM APIs - </h1> - - - <time class="article-date" datetime="2017-04-28T02:36:21.000Z">Updated time: 28/04/2017</time> -</header> - <h1 id="Native-DOM-APIs"><a href="#Native-DOM-APIs" class="headerlink" title="Native DOM APIs"></a>Native DOM APIs</h1><p>Weex å¨ JS å¼æä¸ï¼ä¸ºæ¯ä¸ªé¡µé¢é½æä¾äºä¸å¥ Native DOM APIsï¼è¿å¥æ¥å£å HTML DOM APIs é常æ¥è¿ï¼å©ç¨è¿å¥æ¥å£æ们å¯ä»¥éè¿ JavaScript æ§å¶ native ç渲æé»è¾ãèä¸ Weex ä¸å±ç Vue 2.0 ä¹æ¯åºäºè¿å¥æ¥å£è¿è¡éé çã</p> -<p><em>ç»å¤§å¤æ°æ åµä¸ JS æ¡æ¶ä¼æ Native DOM APIs é½å°è£ 好ï¼å¼åè ä¸éè¦ç´æ¥å¯¹ Native DOM è¿è¡æä½ã</em></p> -<ul> -<li><code>Document</code> ç±»ï¼æ´ä¸ªé¡µé¢ææ¡£ã</li> -<li><code>Node</code> ç±»ï¼ç»ç¹çåºç¡ç±»ã</li> -<li><code>Element</code> ç±»ï¼å ç´ ç»ç¹ï¼ç»§æ¿èª <code>Node</code>ï¼å个è§å¾åå ã</li> -<li><code>Comment</code> ç±»ï¼æ³¨éç»ç¹ï¼ç»§æ¿èª <code>Node</code>ï¼æ å®é æä¹ï¼é常ç¨ä½å ä½ç¬¦ã</li> -</ul> -<p><strong>æ¯ä¸ª Weex 页é¢é½æä¸ä¸ª <code>weex.document</code> 对象ï¼è¯¥å¯¹è±¡å°±æ¯ä¸ä¸ª <code>Document</code> ç±»çå®ä¾ï¼ä¹æ¯ä¸é¢æææ¥å£è°ç¨çèµ·ç¹ã</strong></p> -<p>æ¥ä¸æ¥è¯¦ç»ä»ç»å®ä»¬çç¨æ³ï¼</p> -<h2 id="Document-ç±»"><a href="#Document-ç±»" class="headerlink" title="Document ç±»"></a><code>Document</code> ç±»</h2><p>æ¯ä¸ª <code>Document</code> å®ä¾å¨å建çæ¶åé½ä¼èªå¨æ¥æä¸ä¸ª <code>documentElement</code> å±æ§ï¼è¡¨ç¤ºææ¡£ç»ç¹ã该ææ¡£ç»ç¹å¯ä»¥æ¥æä¸ä¸ª <code>body</code>ï¼å³ææ¡£ç主ä½ç»ç¹ã</p> -<p><strong>注æäºé¡¹</strong>: ææ¡£ç主ä½ç»ç¹åªæ¥å <code><div></code>ã<code><list></code> æ <code><scroller></code> ä¸ç§ç±»åçå ç´ ç»ç¹ã</p> -<h3 id="æé å½æ°"><a href="#æé å½æ°" class="headerlink" title="æé å½æ°"></a>æé å½æ°</h3><p><strong><code>new Document(id: string, url: string?)</code></strong></p> -<h3 id="æåæ¹æ³"><a href="#æåæ¹æ³" class="headerlink" title="æåæ¹æ³"></a>æåæ¹æ³</h3><p><strong><code>createElement(tagName: string, props: Object?): Element</code></strong></p> -<ul> -<li>å建ä¸ä¸ªç¹å®ç±»å <code>tagName</code> ç <code>Element</code> å®ä¾ï¼å³ä¸ä¸ªå ç´ ç»ç¹ã<code>props</code> å¯ä»¥å å« <code>attr</code> 对象å <code>style</code> 对象ãæ¯å¦ <code>createBody('div', {style: {backgroundColor: '#ffffff'}})</code>ã</li> -</ul> -<p><strong><code>createComment(text: string): Comment</code></strong></p> -<ul> -<li>å建ä¸ä¸ª <code>Comment</code> çå®ä¾ï¼å³ä¸ä¸ªæ³¨éç»ç¹ï¼å¹¶è®¾ç½®ä¸æ®µææ¬æè¿°ã</li> -</ul> -<p><strong><code>createBody(tagName: string, props: Object?): Element</code></strong></p> -<ul> -<li>å建æ档主ä½ç»ç¹ï¼å¹¶èªå¨æè½½å° <code>documentElement</code> ä¸ã</li> -</ul> -<p><strong><code>fireEvent(el: Element, type: string, e: Object?, domChanges: Object?)</code></strong></p> -<ul> -<li>触åä¸ä¸ªç¹å®ç±»åçäºä»¶ï¼å¹¶é带ä¸ä¸ªäºä»¶å¯¹è±¡ <code>e</code>ãå½è¯¥äºä»¶å¨äº§çè¿ç¨ä¸ä¿®æ¹äº DOM çç¹æ§ææ ·å¼ï¼å第å个åæ°ç¨æ¥æè¿°è¿äºæ¹åï¼åæ°æ ¼å¼åä¸é¢ <code>createElement</code> æ¹æ³çæ ¼å¼ç¸åã</li> -</ul> -<p><strong><code>destroy()</code></strong></p> -<ul> -<li>éæ¯å½åææ¡£ãä¸æ¦éæ¯ä¹åææ¡£å°ä¸ä¼åå·¥ä½ã</li> -</ul> -<h3 id="åªè¯»æååé"><a href="#åªè¯»æååé" class="headerlink" title="åªè¯»æååé"></a>åªè¯»æååé</h3><p><strong><code>id: string</code></strong></p> -<ul> -<li>æ¯ä¸ª <code>Document</code> å®ä¾é½æä¸ä¸ªå¯ä¸ç <code>id</code>ãè¿åæ¶ä¹æ¯æ¯ä¸ª Weex 页é¢å¯ä¸æ¥æç <code>id</code>ã</li> -</ul> -<p><strong><code>URL: string?</code></strong></p> -<ul> -<li>å¦æå½å Weex 页é¢æ JS bundle URL çè¯ï¼è¿éåä¼è¿å è¿ä¸ª URLã</li> -</ul> -<p><strong><code>body: Element</code></strong></p> -<ul> -<li>ææ¡£ç主ä½ç»ç¹ï¼æ¦å¿µç±»ä¼¼ HTML DOM éç <code>document.body</code>ã</li> -</ul> -<p><strong><code>documentElement: Element</code></strong></p> -<ul> -<li>ææ¡£ç对åºç»ç¹ï¼æ¦å¿µç±»ä¼¼ HTML DOM éç <code>document.documentElement</code>ã</li> -<li><code>body</code> å <code>documentElement</code> çå ³ç³»æ¯ï¼<code>documentElement</code> æ¯ <code>body</code> çç¶ç»ç¹ã</li> -</ul> -<p><strong><code>getRef(id): Node</code></strong></p> -<ul> -<li>æ ¹æ®ç»ç¹ id è·åç»ç¹ã</li> -</ul> -<h2 id="Node-ç±»"><a href="#Node-ç±»" class="headerlink" title="Node ç±»"></a><code>Node</code> ç±»</h2><h3 id="æé å½æ°-1"><a href="#æé å½æ°-1" class="headerlink" title="æé å½æ°"></a>æé å½æ°</h3><p><strong><code>new Node()</code></strong></p> -<h3 id="æå"><a href="#æå" class="headerlink" title="æå"></a>æå</h3><p><strong><code>destroy()</code></strong></p> -<h3 id="åªè¯»æååéææ¹æ³"><a href="#åªè¯»æååéææ¹æ³" class="headerlink" title="åªè¯»æååéææ¹æ³"></a>åªè¯»æååéææ¹æ³</h3><p><strong><code>ref: string</code></strong></p> -<ul> -<li>æ¯ä¸ª <code>Node</code> å®ä¾é½æåèªçå¨æ´ä¸ª <code>Document</code> å®ä¾ä¸å¯ä¸ç <code>ref</code> å¼ã</li> -</ul> -<p><strong><code>nextSibling: Node?</code></strong></p> -<p><strong><code>previousSibling: Node?</code></strong></p> -<p><strong><code>parentNode: Node?</code></strong></p> -<ul> -<li>ä¸è¿°ä¸ä¸ªæ¥å£å HTML DOM çå®ä¹å»åã</li> -</ul> -<p><strong><code>children: Node[]</code></strong></p> -<ul> -<li>该ç»ç¹æ¥æçææåç»ç¹çæ°ç»ã</li> -</ul> -<p><strong><code>pureChildren: Node[]</code></strong></p> -<ul> -<li>该ç»ç¹æ¥æçææåå ç´ çæ°ç»ãå <code>children</code> çåºå«æ¯ï¼<code>pureChildren</code> åªå å«äº <code>Element</code> å®ä¾èä¸å å« <code>Comment</code> å®ä¾ã</li> -</ul> -<h2 id="Element-ç±»-继æ¿èª-Node"><a href="#Element-ç±»-继æ¿èª-Node" class="headerlink" title="Element ç±» 继æ¿èª Node"></a><code>Element</code> ç±» <small>继æ¿èª <code>Node</code></small></h2><h3 id="æé å½æ°-2"><a href="#æé å½æ°-2" class="headerlink" title="æé å½æ°"></a>æé å½æ°</h3><p><strong><code>new Element(type: string, props: Object?)</code></strong></p> -<ul> -<li>å建ä¸ä¸ªç¹å®ç±»å <code>type</code> çå ç´ ç»ç¹ï¼åæ° <code>props</code> å¯ä»¥å å« <code>attr</code> 对象æ <code>style</code> 对象ã</li> -</ul> -<h3 id="DOM-æ æä½"><a href="#DOM-æ æä½" class="headerlink" title="DOM æ æä½"></a>DOM æ æä½</h3><p><strong><code>appendChild(node: Node)</code></strong></p> -<p><strong><code>insertBefore(node: Node, before: Node?)</code></strong></p> -<ul> -<li>ä¸è¿°ä¸¤ä¸ªæ¥å£ç±»ä¼¼ HTML DOMã</li> -</ul> -<p><strong><code>insertAfter(node: Node, after: Node?)</code></strong></p> -<ul> -<li>å¨ä¸ä¸ªåç»ç¹ä¹åæå ¥æ°ç»ç¹ afterã</li> -</ul> -<p><strong><code>removeChild(node: Node, preserved: boolean?)</code></strong></p> -<ul> -<li>å é¤åç»ç¹ <code>node</code>ï¼åæ° <code>preserved</code> 表示ç«å»ä»å åä¸å é¤è¿æ¯ææ¶ä¿çã</li> -</ul> -<p><strong><code>clear()</code></strong></p> -<ul> -<li>æ¸ é¤ææçåç»ç¹ã</li> -</ul> -<h3 id="DOM-å±æ§æ¬èº«æä½"><a href="#DOM-å±æ§æ¬èº«æä½" class="headerlink" title="DOM å±æ§æ¬èº«æä½"></a>DOM å±æ§æ¬èº«æä½</h3><p><strong><code>setAttr(key: string, value: string, silent: boolean?)</code></strong></p> -<p><strong><code>setStyle(key: string, value: string, silent: boolean?)</code></strong></p> -<ul> -<li>ä¸è¿°ä¸¤ä¸ªæ¥å£ä¸ï¼å½ <code>silent</code> 为ççæ¶åï¼ç»ç¹ä» æ´æ°èªå·±ï¼ä¸ä¼ä¼ éå½ä»¤ç»å®¢æ·ç«¯æ¸²æå±ã该åæ°ç¨æ¥å¤çç¨æ·äºä»¶å¨åçæ¶å·²ç»æ¹åç»ç¹ç¸å ³å±æ§çæ åµä¸ï¼ä¸ä¼å¨ Native DOM ä¹æ¹åä¹åéå¤åéå½ä»¤ç»å®¢æ·ç«¯ã</li> -</ul> -<p><strong><code>addEvent(type: string, handler: Function)</code></strong></p> -<p><strong><code>removeEvent(type: string)</code></strong></p> -<p><strong><code>fireEvent(type: string, e: any)</code></strong></p> -<ul> -<li>ç»å®äºä»¶ã解ç»å®äºä»¶ã触åäºä»¶ã</li> -</ul> -<h4 id="ç¹å®ç»ä»¶ç±»åçç»ä»¶æ¹æ³"><a href="#ç¹å®ç»ä»¶ç±»åçç»ä»¶æ¹æ³" class="headerlink" title="ç¹å®ç»ä»¶ç±»åçç»ä»¶æ¹æ³"></a>ç¹å®ç»ä»¶ç±»åçç»ä»¶æ¹æ³</h4><p>ç¹æ®çï¼ä¸åç»ä»¶ç±»åå¯ä»¥æ¥æèªå·±ç¹æçæ¹æ³ï¼æ¯å¦ <code><web></code> ç»ä»¶æ¯æ <code>refresh</code> æ¹æ³ï¼è¯¦è§åç»ä»¶çæè¿°ï¼å¨æ¤æ åµä¸ï¼æ们ä¼äº§çç¹å®ç»ä»¶ç±»åç classï¼æ¯å¦ <code>WebElement</code>ï¼å®ç»§æ¿èª <code>Element</code>ã</p> -<p>å¦ï¼</p> -<blockquote> -<h4 id="WebElement-继æ¿èª-Element"><a href="#WebElement-继æ¿èª-Element" class="headerlink" title="WebElement 继æ¿èª Element"></a><code>WebElement</code> <small>继æ¿èª <code>Element</code></small></h4><p>è¡¨ç¤ºå¨ Weex 页é¢ä¸åµå ¥ä¸ä¸ª webview</p> -<p><strong><code>refresh()</code></strong>: å·æ°å½å webview</p> -</blockquote> -<h3 id="åªè¯»æååéææ¹æ³-1"><a href="#åªè¯»æååéææ¹æ³-1" class="headerlink" title="åªè¯»æååéææ¹æ³"></a>åªè¯»æååéææ¹æ³</h3><p><strong><code>ref</code>, <code>nextSibling</code>, <code>previousSibling</code>, <code>parentNode</code></strong></p> -<ul> -<li>继æ¿èª <code>Node</code>ã</li> -</ul> -<p><strong><code>nodeType: number</code></strong></p> -<ul> -<li>æ°¸è¿æ¯æ°å <code>1</code>ã</li> -</ul> -<p><strong><code>type: string</code></strong></p> -<ul> -<li>åæé å½æ°éç <code>type</code> ä¸è´ã</li> -</ul> -<p><strong><code>attr: Object</code></strong></p> -<ul> -<li>å½åç»ç¹çææç¹æ§çé®å¼å¯¹ãæ¨èéè¿ <code>setAttr()</code> æ¹æ³è¿è¡ä¿®æ¹ï¼èä¸è¦ç´æ¥ä¿®æ¹è¿éç对象ã</li> -</ul> -<p><strong><code>style: Object</code></strong></p> -<ul> -<li>å½åç»ç¹çæææ ·å¼çé®å¼å¯¹ãæ¨èéè¿ <code>setStyle()</code> æ¹æ³è¿è¡ä¿®æ¹ï¼èä¸è¦ç´æ¥ä¿®æ¹è¿éç对象ã</li> -</ul> -<p><strong><code>event: Object</code></strong></p> -<ul> -<li>å½åç»ç¹çææäºä»¶ç»å®ãæ¯ä¸ªäºä»¶ç±»å对åºä¸ä¸ªäºä»¶å¥ææ¹æ³ãæ¨èéè¿ <code>addEvent()</code> / <code>removeEvent()</code> æ¹æ³è¿è¡ä¿®æ¹ï¼èä¸è¦ç´æ¥ä¿®æ¹è¿éç对象ã</li> -</ul> -<p><strong><code>toJSON(): Object</code></strong></p> -<ul> -<li>è¿åæ述该å ç´ ç»ç¹çä¸æ®µ JSON 对象ï¼å½¢å¦ï¼<code>{ref: string, type: string, attr: Object, style: Object, event: Array(string), children: Array}</code>ã</li> -</ul> -<h2 id="Comment-ç±»-继æ¿èª-Node"><a href="#Comment-ç±»-继æ¿èª-Node" class="headerlink" title="Comment ç±» 继æ¿èª Node"></a><code>Comment</code> ç±» <small>继æ¿èª <code>Node</code></small></h2><h3 id="æé å½æ°-3"><a href="#æé å½æ°-3" class="headerlink" title="æé å½æ°"></a>æé å½æ°</h3><p><strong><code>new Comment(value: string)</code></strong></p> -<h3 id="åªè¯»æååéææ¹æ³-2"><a href="#åªè¯»æååéææ¹æ³-2" class="headerlink" title="åªè¯»æååéææ¹æ³"></a>åªè¯»æååéææ¹æ³</h3><p><strong><code>ref</code>, <code>nextSibling</code>, <code>previousSibling</code>, <code>parentNode</code></strong></p> -<ul> -<li>继æ¿èª <code>Node</code>ã</li> -</ul> -<p><strong><code>nodeType: number</code></strong></p> -<ul> -<li>æ°¸è¿æ¯æ°å <code>8</code>ã</li> -</ul> -<p><strong><code>type: string</code></strong></p> -<ul> -<li>æ°¸è¿æ¯å符串 <code>'comment'</code></li> -</ul> -<p><strong><code>value: string</code></strong></p> -<ul> -<li>åæé å½æ°éç <code>value</code> ä¸è´ã</li> -</ul> -<p><strong><code>toJSON(): Object</code></strong></p> -<ul> -<li>è¿åæ述该注éç»ç¹çä¸æ®µ JSON 对象ï¼å½¢å¦ï¼<code><!-- value --></code>ã</li> -</ul> - - </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/native-dom-api.html" data-lang="en">English</a> - </li> - <li> - <a href="/cn/references/native-dom-api.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>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/d332a30e/cn/references/path.html ---------------------------------------------------------------------- diff --git a/cn/references/path.html b/cn/references/path.html deleted file mode 100644 index 197c51f..0000000 --- a/cn/references/path.html +++ /dev/null @@ -1,1419 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="utf-8"> - - <title>Path (è±) | Weex</title> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> - <meta name="description" content="Pathv0.9+ æ¬æå°ä»ç» Weex ä¸ uri(url) çç¨æ³ãå æ¬ä½¿ç¨å¾åãåä½çèµæºï¼å¤çç¸å¯¹è·¯å¾ä»¥åå¦ä½è®¿é®æ¬å°åæå çèµæºæ件ã Schemes æ¬å°èµæº Weex SDK æä¾ local scheme æ¥è®¿é®æå å¨åºç¨ç¨åºä¸çèµæºï¼æ¤ scheme æ æ³å¨ H5 ç¯å¢ä¸ä½¿ç¨ãç®åï¼å¼åè å¯ä»¥å¨ image ç»ä»¶ååä½æ件ä¸ä½¿ç¨æ¬å°èµæºã å¨ iOS ä¸ï¼Weex ä¼å¨ b"> -<meta property="og:type" content="website"> -<meta property="og:title" content="Path (è±)"> -<meta property="og:url" content="https://weex-project.io/cn/references/path.html"> -<meta property="og:site_name" content="Weex"> -<meta property="og:description" content="Pathv0.9+ æ¬æå°ä»ç» Weex ä¸ uri(url) çç¨æ³ãå æ¬ä½¿ç¨å¾åãåä½çèµæºï¼å¤çç¸å¯¹è·¯å¾ä»¥åå¦ä½è®¿é®æ¬å°åæå çèµæºæ件ã Schemes æ¬å°èµæº Weex SDK æä¾ local scheme æ¥è®¿é®æå å¨åºç¨ç¨åºä¸çèµæºï¼æ¤ scheme æ æ³å¨ H5 ç¯å¢ä¸ä½¿ç¨ãç®åï¼å¼åè å¯ä»¥å¨ image ç»ä»¶ååä½æ件ä¸ä½¿ç¨æ¬å°èµæºã å¨ iOS ä¸ï¼Weex ä¼å¨ b"> -<meta property="og:updated_time" content="2017-04-28T02:36:21.000Z"> -<meta name="twitter:card" content="summary"> -<meta name="twitter:title" content="Path (è±)"> -<meta name="twitter:description" content="Pathv0.9+ æ¬æå°ä»ç» Weex ä¸ uri(url) çç¨æ³ãå æ¬ä½¿ç¨å¾åãåä½çèµæºï¼å¤çç¸å¯¹è·¯å¾ä»¥åå¦ä½è®¿é®æ¬å°åæå çèµæºæ件ã Schemes æ¬å°èµæº Weex SDK æä¾ local scheme æ¥è®¿é®æå å¨åºç¨ç¨åºä¸çèµæºï¼æ¤ scheme æ æ³å¨ H5 ç¯å¢ä¸ä½¿ç¨ãç®åï¼å¼åè å¯ä»¥å¨ image ç»ä»¶ååä½æ件ä¸ä½¿ç¨æ¬å°èµæºã å¨ iOS ä¸ï¼Weex ä¼å¨ b"> - - <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/path.html" data-lang="en">English</a> - </li> - <li> - <a href="/cn/references/path.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="doc-nav-version"> - <select class="versionBtn" stype="/cn/references"> - - <option value="2v" selected>v2.x</option> - <option value="1v">v1.x</option> - - </select> -</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 current ">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/indicator.html" class="sidebar-link "><indicator></a> - </li> - - <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></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/list.html" class="sidebar-link "><list></a> - </li> - - <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> - </li> - - <li> - <a href="/cn/references/components/waterfall.html" class="sidebar-link "><waterfall></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 ">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/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> - - <ul class="chapter"> - - <li> - <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</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> - - - </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="doc-nav-version"> - <select class="versionBtn" stype="/cn/references"> - - <option value="2v" selected>v2.x</option> - <option value="1v">v1.x</option> - - </select> -</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 current ">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/indicator.html" class="sidebar-link "><indicator></a> - </li> - - <li> - <a href="/cn/references/components/slider.html" class="sidebar-link "><slider></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/list.html" class="sidebar-link "><list></a> - </li> - - <li> - <a href="/cn/references/components/input.html" class="sidebar-link "><input></a> - </li> - - <li> - <a href="/cn/references/components/waterfall.html" class="sidebar-link "><waterfall></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 ">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/platform-difference.html" class="sidebar-link ">Weex å Web å¹³å°çå·®å¼</a></h3> - - <ul class="chapter"> - - <li> - <a href="/cn/references/migration/index.html" class="sidebar-link ">è¿ç§»</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> - - - </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"> - Path (è±) - </h1> - - - <time class="article-date" datetime="2017-04-28T02:36:21.000Z">Updated time: 28/04/2017</time> -</header> - <h1 id="Path"><a href="#Path" class="headerlink" title="Path"></a>Path</h1><p><span class="weex-version">v0.9+</span></p> -<p>æ¬æå°ä»ç» Weex ä¸ uri(url) çç¨æ³ãå æ¬ä½¿ç¨å¾åãåä½çèµæºï¼å¤çç¸å¯¹è·¯å¾ä»¥åå¦ä½è®¿é®æ¬å°åæå çèµæºæ件ã</p> -<h2 id="Schemes"><a href="#Schemes" class="headerlink" title="Schemes"></a>Schemes</h2><ul> -<li><p>æ¬å°èµæº</p> -<p>Weex SDK æä¾ <code>local</code> scheme æ¥è®¿é®æå å¨åºç¨ç¨åºä¸çèµæºï¼æ¤ scheme æ æ³å¨ H5 ç¯å¢ä¸ä½¿ç¨ãç®åï¼å¼åè å¯ä»¥å¨ <code>image</code> ç»ä»¶ååä½æ件ä¸ä½¿ç¨æ¬å°èµæºã </p> -<ul> -<li><p>å¨ iOS ä¸ï¼Weex ä¼å¨ <code>bundle resources</code> ä¸æ¥æ¾ãä¾å¦ï¼<code>image</code> ç»ä»¶ç <code>src</code> å±æ§ä¸º <code>local:///app_icon'</code>ï¼ Weex ä¼å è½½ <code>bundle resouce</code> ä¸å为 <code>app_icon</code> çå¾åèµæºï¼èåä½æ件ä¹ä»¥ç¸åçæ¹å¼å·¥ä½ã </p> -</li> -<li><p>å¨ Android ä¸ï¼<code>image</code> ç»ä»¶å°ä» <code>drawable</code> èµæºæ件夹å è½½ï¼å¦ <code>res/drawable-xxx</code>ãä½å è½½åä½æ件æ¯ä¸åçï¼Android æ¡æ¶æ æ³ä» <code>res</code> å è½½åä½æ件ï¼å æ¤ SDK å°ä» <code>asserts</code> æ件夹å è½½å®ã</p> -</li> -</ul> -</li> -<li><p>HTTP/HTTPS </p> -<p>å®çå·¥ä½æ¹å¼ä¸ web ç¸åï¼Weex ä¸ç´æ¯æè¿ç§æ¹å¼ã </p> -</li> -<li><p>File </p> -</li> -</ul> -<p>ä½¿ç¨ <code>file</code> scheme 访é®æ¬å°ç£çæ件ãè¿ä¸ªæ¹æ¡æå ¶å±éæ§ï¼ä½ ä¸åºè¯¥å¨æºé¡µé¢ä¸ç¡¬ç¼ç æ件 urlãå 为ä¸ç®¡å®æ¯å¦å¨ä¸åçå¹³å°ï¼iOSï¼Androidï¼ä¸è¿è¡ï¼å 容å°å¨å¦ä¸ä¸ªè®¾å¤ä¸å®å ¨ä¸åï¼è¿åå³äºå ·ä½ç设å¤ã</p> -<p>æ以ä¸ç§å¯è¡çæ¹æ¡æ¯å¨è¿è¡æ¶å¨æè·åæ件 urlï¼ä½ å¯ä»¥ä½¿ç¨å®æ¥æ¾ç¤ºæ¬å°ç£ççå¾åï¼æè ç¨åä¸ä¼ å®ã</p> -<h2 id="ç¸å¯¹è·¯å¾"><a href="#ç¸å¯¹è·¯å¾" class="headerlink" title="ç¸å¯¹è·¯å¾"></a>ç¸å¯¹è·¯å¾</h2><p><a href="https://www.w3.org/TR/html4/types.html#type-uri" target="_blank" rel="external">ä¸æä»¬å¨ HTML ä¸çç¨æ³ç±»ä¼¼</a>ï¼Weex 以ç¸åçæ¹å¼å¤çç¸å¯¹è·¯å¾ã以<code>/</code>ã<code>.</code>ã<code>..</code>ã<code>//</code> å¼å¤´çç¸å¯¹ URI å°ç¸å¯¹äº bunle url 解æã</p> -<p>è¿æå³çï¼ ä¸ä¸ªä»¥ <code>/</code> å¼å¤´çè·¯å¾å°æ¯ç¸å¯¹äº JS Bundle æ件çæ ¹æ件夹ã<code>.</code> åæ¯å½åæ件夹ï¼<code>..</code> æ¯ç¶æ件夹ã <code>//</code> å被解æä¸ºä¸ JS Bundle ç¸åç schemeã</p> -<h2 id="URI-Adapter"><a href="#URI-Adapter" class="headerlink" title="URI Adapter"></a>URI Adapter</h2><p>以ä¸æææ¯é»è®¤å®ç°ï¼å¼åè å¯ä»¥éè¿æä¾ä¸ä¸ª <code>URI Adapter</code> æ¥æ©å±æè¦çé»è®¤å®ç°ãä¸å ¶ä» Adapter ç¸åï¼åºå¨ Weex SDK åå§åä¹å设置èªå®ä¹ Adapterã</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/path.html" data-lang="en">English</a> - </li> - <li> - <a href="/cn/references/path.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>