You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ji...@apache.org on 2017/02/01 07:21:23 UTC

[23/51] [partial] incubator-weex-site git commit: Site updated: 2017-02-01 15:00:00

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/14041490/content/cn/references/modules/modal.html
----------------------------------------------------------------------
diff --git a/content/cn/references/modules/modal.html b/content/cn/references/modules/modal.html
new file mode 100644
index 0000000..fea3502
--- /dev/null
+++ b/content/cn/references/modules/modal.html
@@ -0,0 +1,1363 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta charset="utf-8">
+  
+  <title>modal | Weex</title>
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+  <meta name="description" content="modal \u6a21\u6001modal \u6a21\u5757\u63d0\u4f9b\u4e86\u4ee5\u4e0b\u5c55\u793a\u6d88\u606f\u6846\u7684 API\uff1atoast\u3001alert\u3001confirm \u548c prompt\u3002
+APItoast(options)toast() \u4f1a\u5728\u4e00\u4e2a\u5c0f\u6d6e\u5c42\u91cc\u5c55\u793a\u5173\u4e8e\u67d0\u4e2a\u64cd\u4f5c\u7684\u7b80\u5355\u53cd\u9988\u3002\u4f8b\u5982\uff0c\u5728\u90ae\u4ef6\u53d1\u9001\u524d\u79bb\u5f00\u90ae\u7f16\u7f16\u8f91\u754c\u9762\uff0c\u53ef\u4ee5\u89e6\u53d1\u4e00\u4e2a\u201c\u8349\u7a3f\u5df2\u4fdd\u5b58\u201d\u7684 toast\uff0c\u544a\u77e5\u7528\u6237\u4ee5\u540e\u53ef\u4ee5\u7ee7\u7eed\u7f16\u8f91\u3002toast \u4f1a\u5728\u663e\u793a\u4e00\u6bb5\u65f6\u95f4\u4e4b\u540e\u81ea\u52a8\u6d88\u5931\u3002
+\u53c2\u6570
+options {Objec">
+<meta property="og:type" content="website">
+<meta property="og:title" content="modal">
+<meta property="og:url" content="https://weex.apache.org/cn/references/modules/modal.html">
+<meta property="og:site_name" content="Weex">
+<meta property="og:description" content="modal \u6a21\u6001modal \u6a21\u5757\u63d0\u4f9b\u4e86\u4ee5\u4e0b\u5c55\u793a\u6d88\u606f\u6846\u7684 API\uff1atoast\u3001alert\u3001confirm \u548c prompt\u3002
+APItoast(options)toast() \u4f1a\u5728\u4e00\u4e2a\u5c0f\u6d6e\u5c42\u91cc\u5c55\u793a\u5173\u4e8e\u67d0\u4e2a\u64cd\u4f5c\u7684\u7b80\u5355\u53cd\u9988\u3002\u4f8b\u5982\uff0c\u5728\u90ae\u4ef6\u53d1\u9001\u524d\u79bb\u5f00\u90ae\u7f16\u7f16\u8f91\u754c\u9762\uff0c\u53ef\u4ee5\u89e6\u53d1\u4e00\u4e2a\u201c\u8349\u7a3f\u5df2\u4fdd\u5b58\u201d\u7684 toast\uff0c\u544a\u77e5\u7528\u6237\u4ee5\u540e\u53ef\u4ee5\u7ee7\u7eed\u7f16\u8f91\u3002toast \u4f1a\u5728\u663e\u793a\u4e00\u6bb5\u65f6\u95f4\u4e4b\u540e\u81ea\u52a8\u6d88\u5931\u3002
+\u53c2\u6570
+options {Objec">
+<meta property="og:updated_time" content="2017-02-01T06:23:21.906Z">
+<meta name="twitter:card" content="summary">
+<meta name="twitter:title" content="modal">
+<meta name="twitter:description" content="modal \u6a21\u6001modal \u6a21\u5757\u63d0\u4f9b\u4e86\u4ee5\u4e0b\u5c55\u793a\u6d88\u606f\u6846\u7684 API\uff1atoast\u3001alert\u3001confirm \u548c prompt\u3002
+APItoast(options)toast() \u4f1a\u5728\u4e00\u4e2a\u5c0f\u6d6e\u5c42\u91cc\u5c55\u793a\u5173\u4e8e\u67d0\u4e2a\u64cd\u4f5c\u7684\u7b80\u5355\u53cd\u9988\u3002\u4f8b\u5982\uff0c\u5728\u90ae\u4ef6\u53d1\u9001\u524d\u79bb\u5f00\u90ae\u7f16\u7f16\u8f91\u754c\u9762\uff0c\u53ef\u4ee5\u89e6\u53d1\u4e00\u4e2a\u201c\u8349\u7a3f\u5df2\u4fdd\u5b58\u201d\u7684 toast\uff0c\u544a\u77e5\u7528\u6237\u4ee5\u540e\u53ef\u4ee5\u7ee7\u7eed\u7f16\u8f91\u3002toast \u4f1a\u5728\u663e\u793a\u4e00\u6bb5\u65f6\u95f4\u4e4b\u540e\u81ea\u52a8\u6d88\u5931\u3002
+\u53c2\u6570
+options {Objec">
+  
+    <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">\u6559\u7a0b</a></li>
+        <li><a href="/cn/references">\u624b\u518c</a></li>
+        <li><a href="/cn/faq.html">FAQ</a></li>
+        <li class="dropdown">
+            <a href="javascript:;">\u4e0b\u8f7d</a>
+            <ul class="dropdown-menu subnav">
+              <li>
+                <a href="/cn/playground.html">Playground</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weex-devtool" target="_blank">Devtool</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weexpack" target="_blank">Weexpack</a>
+              </li>
+              <li>
+                <a href="http://dotwe.org" target="_blank">Snippets</a>
+              </li>
+              <li>
+                <a href="https://market.weex-project.io/" target="_blank">Market</a>
+              </li>
+            </ul>
+        </li>
+      </ul>
+      <ul class="info">
+        <li><a href="https://github.com/alibaba/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"> <!-- \u641c\u7d22\u6846\u76f8\u5173 -->
+    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <span class="iconfont icon-search"></span>
+  </form>
+  <div class="results-panel">
+  </div>
+</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"> <!-- \u641c\u7d22\u6846\u76f8\u5173 -->
+    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." 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">
+    
+      \u624b\u518c
+    
+  </h2>
+  <ul class="doc-summary">
+    
+    
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+   
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/index.html" class="sidebar-link  ">\u901a\u7528\u7279\u6027</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/jsfm-apis.html" class="sidebar-link  ">JS Framework APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/common-style.html" class="sidebar-link  ">\u901a\u7528\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/text-style.html" class="sidebar-link  ">\u6587\u672c\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/color-names.html" class="sidebar-link  ">\u989c\u8272\u540d\u79f0\u5217\u8868</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/gesture.html" class="sidebar-link  ">\u624b\u52bf</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/path.html" class="sidebar-link  ">Path (\u82f1)</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/components/index.html" class="sidebar-link  ">\u5185\u5efa\u7ec4\u4ef6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/components/a.html" class="sidebar-link  ">&lt;a&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/slider.html" class="sidebar-link  ">&lt;slider&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/indicator.html" class="sidebar-link  ">&lt;indicator&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/switch.html" class="sidebar-link  ">&lt;switch&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/text.html" class="sidebar-link  ">&lt;text&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/textarea.html" class="sidebar-link  ">&lt;textarea&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/video.html" class="sidebar-link  ">&lt;video&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/web.html" class="sidebar-link  ">&lt;web&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/div.html" class="sidebar-link  ">&lt;div&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/image.html" class="sidebar-link  ">&lt;image&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/list.html" class="sidebar-link  ">&lt;list&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/input.html" class="sidebar-link  ">&lt;input&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/cell.html" class="sidebar-link  ">&lt;cell&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/loading.html" class="sidebar-link  ">&lt;loading&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/refresh.html" class="sidebar-link  ">&lt;refresh&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/scroller.html" class="sidebar-link  ">&lt;scroller&gt;</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/modules/index.html" class="sidebar-link  ">\u5185\u5efa\u6a21\u5757</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/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 current ">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 \u5355\u4f4d</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/common-event.html" class="sidebar-link  ">\u901a\u7528\u4e8b\u4ef6</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 \u5b9e\u4f8b\u53d8\u91cf</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/web-standards.html" class="sidebar-link  ">Web \u6807\u51c6</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 \u5728 Weex \u548c Web \u4e2d\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/vue/difference-of-vuex.html" class="sidebar-link  ">\u4f7f\u7528 Vuex \u548c vue-router</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/advanced/index.html" class="sidebar-link  ">\u9ad8\u9636\u77e5\u8bc6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-ios.html" class="sidebar-link  ">iOS \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-android.html" class="sidebar-link  ">Android \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-html5.html" class="sidebar-link  ">HTML5 \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-jsfm.html" class="sidebar-link  ">\u62d3\u5c55 JS framework</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-android.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 Android</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-ios.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 iOS</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link  ">\u8fc1\u79fb</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/migration/migration-from-weex.html" class="sidebar-link  ">\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/migration/difference.html" class="sidebar-link  ">Weex \u548c Vue 2.x \u7684\u8bed\u6cd5\u5dee\u5f02</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a></h3>
+        
+      </li>
+    
+    
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/v-0.10/references/index.html" class="sidebar-link">\u65e7\u6587\u6863</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">
+    
+      \u624b\u518c
+    
+  </h2>
+  <ul class="doc-summary">
+    
+    
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+   
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/index.html" class="sidebar-link  ">\u901a\u7528\u7279\u6027</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/jsfm-apis.html" class="sidebar-link  ">JS Framework APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/common-style.html" class="sidebar-link  ">\u901a\u7528\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/text-style.html" class="sidebar-link  ">\u6587\u672c\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/color-names.html" class="sidebar-link  ">\u989c\u8272\u540d\u79f0\u5217\u8868</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/gesture.html" class="sidebar-link  ">\u624b\u52bf</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/path.html" class="sidebar-link  ">Path (\u82f1)</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/components/index.html" class="sidebar-link  ">\u5185\u5efa\u7ec4\u4ef6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/components/a.html" class="sidebar-link  ">&lt;a&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/slider.html" class="sidebar-link  ">&lt;slider&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/indicator.html" class="sidebar-link  ">&lt;indicator&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/switch.html" class="sidebar-link  ">&lt;switch&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/text.html" class="sidebar-link  ">&lt;text&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/textarea.html" class="sidebar-link  ">&lt;textarea&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/video.html" class="sidebar-link  ">&lt;video&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/web.html" class="sidebar-link  ">&lt;web&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/div.html" class="sidebar-link  ">&lt;div&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/image.html" class="sidebar-link  ">&lt;image&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/list.html" class="sidebar-link  ">&lt;list&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/input.html" class="sidebar-link  ">&lt;input&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/cell.html" class="sidebar-link  ">&lt;cell&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/loading.html" class="sidebar-link  ">&lt;loading&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/refresh.html" class="sidebar-link  ">&lt;refresh&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/scroller.html" class="sidebar-link  ">&lt;scroller&gt;</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/modules/index.html" class="sidebar-link  ">\u5185\u5efa\u6a21\u5757</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/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 current ">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 \u5355\u4f4d</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/common-event.html" class="sidebar-link  ">\u901a\u7528\u4e8b\u4ef6</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 \u5b9e\u4f8b\u53d8\u91cf</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/web-standards.html" class="sidebar-link  ">Web \u6807\u51c6</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 \u5728 Weex \u548c Web \u4e2d\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/vue/difference-of-vuex.html" class="sidebar-link  ">\u4f7f\u7528 Vuex \u548c vue-router</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/advanced/index.html" class="sidebar-link  ">\u9ad8\u9636\u77e5\u8bc6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-ios.html" class="sidebar-link  ">iOS \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-android.html" class="sidebar-link  ">Android \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-html5.html" class="sidebar-link  ">HTML5 \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-jsfm.html" class="sidebar-link  ">\u62d3\u5c55 JS framework</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-android.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 Android</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-ios.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 iOS</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link  ">\u8fc1\u79fb</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/migration/migration-from-weex.html" class="sidebar-link  ">\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/migration/difference.html" class="sidebar-link  ">Weex \u548c Vue 2.x \u7684\u8bed\u6cd5\u5dee\u5f02</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a></h3>
+        
+      </li>
+    
+    
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/v-0.10/references/index.html" class="sidebar-link">\u65e7\u6587\u6863</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">
+        modal
+      </h1>
+    
+  
+  <time class="article-date" datetime="2017-02-01T06:23:21.906Z">Updated time: 01/02/2017</time>
+</header>
+    <h1 id="modal-\u6a21\u6001"><a href="#modal-\u6a21\u6001" class="headerlink" title="modal \u6a21\u6001"></a><code>modal</code> \u6a21\u6001</h1><p><code>modal</code> \u6a21\u5757\u63d0\u4f9b\u4e86\u4ee5\u4e0b\u5c55\u793a\u6d88\u606f\u6846\u7684 API\uff1a<code>toast</code>\u3001<code>alert</code>\u3001<code>confirm</code> \u548c <code>prompt</code>\u3002</p>
+<h2 id="API"><a href="#API" class="headerlink" title="API"></a>API</h2><h3 id="toast-options"><a href="#toast-options" class="headerlink" title="toast(options)"></a><code>toast(options)</code></h3><p><code>toast()</code> \u4f1a\u5728\u4e00\u4e2a\u5c0f\u6d6e\u5c42\u91cc\u5c55\u793a\u5173\u4e8e\u67d0\u4e2a\u64cd\u4f5c\u7684\u7b80\u5355\u53cd\u9988\u3002\u4f8b\u5982\uff0c\u5728\u90ae\u4ef6\u53d1\u9001\u524d\u79bb\u5f00\u90ae\u7f16\u7f16\u8f91\u754c\u9762\uff0c\u53ef\u4ee5\u89e6\u53d1\u4e00\u4e2a\u201c\u8349\u7a3f\u5df2\u4fdd\u5b58\u201d\u7684 toast\uff0c\u544a\u77e5\u7528\u6237\u4ee5\u540e\u53ef\u4ee5\u7ee7\u7eed\u7f16\u8f91\u3002toast \u4f1a\u5728\u663e\u793a\u4e00\u6bb5\u65f6\u95f4\u4e4b\u540e\u81ea\u52a8\u6d88\u5931\u3002</p>
+<h4 id="\u53c2\u6570"><a href="#\u53c2\u6570" class="headerlink" title="\u53c2\u6570"></a>\u53c2\u6570</h4><ul>
+<li><code>options {Object}</code>\uff1a\u76f8\u5173\u9009\u9879<ul>
+<li><code>message {string}</code>\uff1a\u5c55\u793a\u7684\u5185\u5bb9</li>
+<li><code>duration {number}</code>\uff1a\u5c55\u793a\u7684\u6301\u7eed\u65f6\u95f4\uff08\u4ee5\u79d2\u4e3a\u5355\u4f4d\uff09</li>
+</ul>
+</li>
+</ul>
+<h3 id="alert-options-callback"><a href="#alert-options-callback" class="headerlink" title="alert(options, callback)"></a><code>alert(options, callback)</code></h3><p>\u8b66\u544a\u6846\u7ecf\u5e38\u7528\u4e8e\u786e\u4fdd\u7528\u6237\u53ef\u4ee5\u5f97\u5230\u67d0\u4e9b\u4fe1\u606f\u3002\u5f53\u8b66\u544a\u6846\u51fa\u73b0\u540e\uff0c\u7528\u6237\u9700\u8981\u70b9\u51fb\u786e\u5b9a\u6309\u94ae\u624d\u80fd\u7ee7\u7eed\u8fdb\u884c\u64cd\u4f5c\u3002</p>
+<h4 id="\u53c2\u6570-1"><a href="#\u53c2\u6570-1" class="headerlink" title="\u53c2\u6570"></a>\u53c2\u6570</h4><ul>
+<li><code>options {Object}</code>\uff1aalert\u9009\u9879<ul>
+<li><code>message {string}</code>\uff1a\u8b66\u544a\u6846\u5185\u663e\u793a\u7684\u6587\u5b57\u4fe1\u606f</li>
+<li><code>okTitle {string}</code>\uff1a\u786e\u5b9a\u6309\u94ae\u4e0a\u663e\u793a\u7684\u6587\u5b57\u4fe1\u606f\uff0c\u9ed8\u8ba4\u662f\u201cOK\u201d</li>
+<li><code>callback {Function}</code>\uff1a\u7528\u6237\u64cd\u4f5c\u5b8c\u6210\u540e\u7684\u56de\u8c03</li>
+</ul>
+</li>
+</ul>
+<h3 id="confirm-options-callback"><a href="#confirm-options-callback" class="headerlink" title="confirm(options, callback)"></a><code>confirm(options, callback)</code></h3><p>\u786e\u8ba4\u6846\u7528\u4e8e\u4f7f\u7528\u6237\u53ef\u4ee5\u9a8c\u8bc1\u6216\u8005\u63a5\u53d7\u67d0\u4e9b\u4fe1\u606f\u3002\u5f53\u786e\u8ba4\u6846\u51fa\u73b0\u540e\uff0c\u7528\u6237\u9700\u8981\u70b9\u51fb\u786e\u5b9a\u6216\u8005\u53d6\u6d88\u6309\u94ae\u624d\u80fd\u7ee7\u7eed\u8fdb\u884c\u64cd\u4f5c\u3002</p>
+<h4 id="\u53c2\u6570-2"><a href="#\u53c2\u6570-2" class="headerlink" title="\u53c2\u6570"></a>\u53c2\u6570</h4><ul>
+<li><code>options {object}</code>\uff1aconfirm \u9009\u9879<ul>
+<li><code>message {string}</code>\uff1a\u786e\u8ba4\u6846\u5185\u663e\u793a\u7684\u6587\u5b57\u4fe1\u606f</li>
+<li><code>okTitle {string}</code>\uff1a\u786e\u8ba4\u6309\u94ae\u4e0a\u663e\u793a\u7684\u6587\u5b57\u4fe1\u606f\uff0c\u9ed8\u8ba4\u662f <code>OK</code></li>
+<li><code>cancelTitle {string}</code>\uff1a\u53d6\u6d88\u6309\u94ae\u4e0a\u663e\u793a\u7684\u6587\u5b57\u4fe1\u606f\uff0c\u9ed8\u8ba4\u662f <code>Cancel</code></li>
+</ul>
+</li>
+<li><code>callback {function (result)}</code>\uff1a\u7528\u6237\u64cd\u4f5c\u5b8c\u6210\u540e\u7684\u56de\u8c03\uff0c\u56de\u8c03\u51fd\u6570\u7684\u53c2\u6570 <code>result</code> \u662f\u786e\u5b9a\u6309\u94ae\u4e0a\u7684\u6587\u5b57\u4fe1\u606f\u5b57\u7b26\u4e32</li>
+</ul>
+<h3 id="prompt-options-callback"><a href="#prompt-options-callback" class="headerlink" title="prompt(options, callback)"></a><code>prompt(options, callback)</code></h3><p>\u63d0\u793a\u6846\u7ecf\u5e38\u7528\u4e8e\u63d0\u793a\u7528\u6237\u5728\u8fdb\u5165\u9875\u9762\u524d\u8f93\u5165\u67d0\u4e2a\u503c\u3002\u5f53\u63d0\u793a\u6846\u51fa\u73b0\u540e\uff0c\u7528\u6237\u9700\u8981\u8f93\u5165\u67d0\u4e2a\u503c\uff0c\u7136\u540e\u70b9\u51fb\u786e\u8ba4\u6216\u53d6\u6d88\u6309\u94ae\u624d\u80fd\u7ee7\u7eed\u64cd\u4f5c\u3002</p>
+<h4 id="\u53c2\u6570-3"><a href="#\u53c2\u6570-3" class="headerlink" title="\u53c2\u6570"></a>\u53c2\u6570</h4><ul>
+<li><code>options {object}</code>\uff1aprompt \u9009\u9879<ul>
+<li><code>message {string}</code>\uff1a\u63d0\u793a\u6846\u5185\u8981\u663e\u793a\u7684\u6587\u5b57\u4fe1\u606f</li>
+<li><code>okTitle {string}</code>\uff1a\u786e\u8ba4\u6309\u94ae\u4e0a\u663e\u793a\u7684\u6587\u5b57\u4fe1\u606f\uff0c\u9ed8\u8ba4\u662f <code>OK</code></li>
+<li><code>cancelTitle {string}</code>\uff1a\u53d6\u6d88\u6309\u94ae\u4e0a\u663e\u793a\u7684\u6587\u5b57\u4fe1\u606f\uff0c\u9ed8\u8ba4\u662f <code>Cancel</code></li>
+</ul>
+</li>
+<li><code>callback {function (ret)}</code>\uff1a\u7528\u6237\u64cd\u4f5c\u5b8c\u6210\u540e\u7684\u56de\u8c03\uff0c\u56de\u8c03\u51fd\u6570\u7684\u53c2\u6570 <code>ret</code> \u683c\u5f0f\u5f62\u5982 <code>{ result: &#39;OK&#39;, data: &#39;hello world&#39; }</code>\uff0c\u5982\u4e0b<ul>
+<li><code>result {string}</code>\uff1a\u7528\u6237\u6309\u4e0b\u7684\u6309\u94ae\u4e0a\u7684\u6587\u5b57\u4fe1\u606f</li>
+<li><code>data {string}</code>\uff1a\u7528\u6237\u8f93\u5165\u7684\u6587\u5b57\u4fe1\u606f</li>
+</ul>
+</li>
+</ul>
+<h2 id="Example"><a href="#Example" class="headerlink" title="Example"></a>Example</h2><figure class="highlight html"><table><tr><td class="code"><pre><div class="line"><span class="tag">&lt;<span class="name">template</span>&gt;</span></div><div class="line">  <span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">"wrapper"</span>&gt;</span></div><div class="line">    <span class="tag">&lt;<span class="name">text</span> <span class="attr">class</span>=<span class="string">"button"</span> @<span class="attr">click</span>=<span class="string">"showToast"</span>&gt;</span>Toast<span class="tag">&lt;/<span class="name">text</span>&gt;</span></div><div class="line">    <span class="tag">&lt;<span class="name">text</span> <span class="attr">class</span>=<span class="string">"button"</span> @<span class="attr">click</span>=<span class="string">"showAlert"</span>&gt;</span>Alert<span class="tag">&lt;/<span class="name">text</span>&gt;</span
 ></div><div class="line">    <span class="tag">&lt;<span class="name">text</span> <span class="attr">class</span>=<span class="string">"button"</span> @<span class="attr">click</span>=<span class="string">"showConfirm"</span>&gt;</span>Confirm<span class="tag">&lt;/<span class="name">text</span>&gt;</span></div><div class="line">    <span class="tag">&lt;<span class="name">text</span> <span class="attr">class</span>=<span class="string">"button"</span> @<span class="attr">click</span>=<span class="string">"showPrompt"</span>&gt;</span>Prompt<span class="tag">&lt;/<span class="name">text</span>&gt;</span></div><div class="line">  <span class="tag">&lt;/<span class="name">div</span>&gt;</span></div><div class="line"><span class="tag">&lt;/<span class="name">template</span>&gt;</span></div><div class="line"></div><div class="line"><span class="tag">&lt;<span class="name">script</span>&gt;</span><span class="javascript"></span></div><div class="line">  <span class="keyword">var</span> m
 odal = weex.requireModule(<span class="string">'modal'</span>)</div><div class="line"></div><div class="line">  <span class="keyword">export</span> <span class="keyword">default</span> &#123;</div><div class="line">    <span class="attr">methods</span>: &#123;</div><div class="line">      showToast (event) &#123;</div><div class="line">        <span class="built_in">console</span>.log(<span class="string">'will show toast'</span>)</div><div class="line">        modal.toast(&#123;</div><div class="line">          <span class="attr">message</span>: <span class="string">'This is a toast'</span>,</div><div class="line">          <span class="attr">duration</span>: <span class="number">0.3</span></div><div class="line">        &#125;)</div><div class="line">      &#125;,</div><div class="line">      showAlert (event) &#123;</div><div class="line">        <span class="built_in">console</span>.log(<span class="string">'will show alert'</span>)</div><div class="line">        modal.alert(&#1
 23;</div><div class="line">          <span class="attr">message</span>: <span class="string">'This is a alert'</span>,</div><div class="line">          <span class="attr">duration</span>: <span class="number">0.3</span></div><div class="line">        &#125;, <span class="function"><span class="keyword">function</span> (<span class="params">value</span>) </span>&#123;</div><div class="line">          <span class="built_in">console</span>.log(<span class="string">'alert callback'</span>, value)</div><div class="line">        &#125;)</div><div class="line">      &#125;,</div><div class="line">      showConfirm (event) &#123;</div><div class="line">        <span class="built_in">console</span>.log(<span class="string">'will show confirm'</span>)</div><div class="line">        modal.confirm(&#123;</div><div class="line">          <span class="attr">message</span>: <span class="string">'Do you confirm ?'</span>,</div><div class="line">          <span class="attr">duration</span>: <span cl
 ass="number">0.3</span></div><div class="line">        &#125;, <span class="function"><span class="keyword">function</span> (<span class="params">value</span>) </span>&#123;</div><div class="line">          <span class="built_in">console</span>.log(<span class="string">'confirm callback'</span>, value)</div><div class="line">        &#125;)</div><div class="line">      &#125;,</div><div class="line">      showPrompt (event) &#123;</div><div class="line">        <span class="built_in">console</span>.log(<span class="string">'will show prompt'</span>)</div><div class="line">        modal.prompt(&#123;</div><div class="line">          <span class="attr">message</span>: <span class="string">'This is a prompt'</span>,</div><div class="line">          <span class="attr">duration</span>: <span class="number">0.3</span></div><div class="line">        &#125;, <span class="function"><span class="keyword">function</span> (<span class="params">value</span>) </span>&#123;</div><div class="line">
           <span class="built_in">console</span>.log(<span class="string">'prompt callback'</span>, value)</div><div class="line">        &#125;)</div><div class="line">      &#125;</div><div class="line">    &#125;</div><div class="line">  &#125;;</div><div class="line"><span class="tag">&lt;/<span class="name">script</span>&gt;</span></div><div class="line"></div><div class="line"><span class="tag">&lt;<span class="name">style</span> <span class="attr">scoped</span>&gt;</span><span class="css"></span></div><div class="line">  <span class="selector-class">.wrapper</span> &#123;</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">  &#125;</div><div class="line">  <span class="selector-class">.button</span> &#123;</div><div class="line">    <span class="attribute">font-size</span>: <span class="number">60px</span>;</div><div class="line">    <span cla
 ss="attribute">width</span>: <span class="number">450px</span>;</div><div class="line">    <span class="attribute">text-align</span>: center;</div><div class="line">    <span class="attribute">margin-top</span>: <span class="number">30px</span>;</div><div class="line">    <span class="attribute">margin-left</span>: <span class="number">150px</span>;</div><div class="line">    <span class="attribute">padding-top</span>: <span class="number">20px</span>;</div><div class="line">    <span class="attribute">padding-bottom</span>: <span class="number">20px</span>;</div><div class="line">    <span class="attribute">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">color</span>: <span class="number">#666666</span>;</div><div class="line">    <span class="attribute">border-color</span>: <span class="number">#DDDDDD</span>;</div><div class="line">    <span clas
 s="attribute">background-color</span>: <span class="number">#F5F5F5</span></div><div class="line">  &#125;</div><div class="line"><span class="tag">&lt;/<span class="name">style</span>&gt;</span></div></pre></td></tr></table></figure>
+<p><a href="../../../examples/modal.html">try it</a></p>
+
+  </div>
+  
+</article>
+</div>
+  
+  <footer id="footer">
+  <div class="row clearfix">
+    <div class="ali-logo">
+      <img src="//gw.alicdn.com/tps/TB1Ef93PXXXXXaXXpXXXXXXXXXX-252-126.png" alt="Alibaba">
+    </div>
+    <div class="dropdown select-lang">
+      <a href="javascript:;" class="dropdown-toggle">
+        Language
+        <span class="caret"></span>
+      </a>
+      <ul class="dropdown-menu">
+        <li>
+          <a href="/references/modules/modal.html">English</a>
+        </li>
+        <li>
+          <a href="/cn/references/modules/modal.html">\u4e2d\u6587</a>
+        </li>
+      </ul>
+    </div>
+  </div>
+  <div class="row">
+    <p><span>Released under </span><a href="">Apache License 2.0</a></p>
+  </div>
+  <div class="row clearfix">
+    <div class="cell"><span>Copyright(c) 2016 </span><a href="https://www.alibaba.com">Alibaba</a></div>
+    <div class="cell"><span>GroupMade by </span><a href="">\u963f\u91cc\u4e91UED AX</a></div>
+  </div>
+</footer>
+  <div style="display: none;">
+  <script src="//s95.cnzz.com/z_stat.php?id=1261102667&amp;web_id=1261102667" 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/14041490/content/cn/references/modules/navigator.html
----------------------------------------------------------------------
diff --git a/content/cn/references/modules/navigator.html b/content/cn/references/modules/navigator.html
new file mode 100644
index 0000000..d0e7c8b
--- /dev/null
+++ b/content/cn/references/modules/navigator.html
@@ -0,0 +1,1338 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta charset="utf-8">
+  
+  <title>navigator | Weex</title>
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+  <meta name="description" content="navigator \u5bfc\u822a\u63a7\u5236v0.6.1+
+\u4f17\u6240\u5468\u77e5\uff0c\u5728\u6d4f\u89c8\u5668\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u524d\u8fdb\u6216\u8005\u56de\u9000\u6309\u94ae\u6765\u5207\u6362\u9875\u9762\uff0ciOS/Android \u7684 navigator \u6a21\u5757\u5c31\u662f\u7528\u6765\u5b9e\u73b0\u7c7b\u4f3c\u7684\u6548\u679c\u7684\u3002\u9664\u4e86\u524d\u8fdb\u3001\u56de\u9000\u529f\u80fd\uff0c\u8be5\u6a21\u5757\u8fd8\u5141\u8bb8\u6211\u4eec\u6307\u5b9a\u5728\u5207\u6362\u9875\u9762\u7684\u65f6\u5019\u662f\u5426\u5e94\u7528\u52a8\u753b\u6548\u679c\u3002
+APIpush(options, callback)\u628a\u4e00\u4e2aweex\u9875\u9762URL\u538b\u5165\u5bfc\u822a\u5806\u6808\u4e2d\uff0c\u53ef\u6307\u5b9a\u5728\u9875\u9762\u8df3\u8f6c\u65f6\u662f\u5426\u9700\u8981\u52a8\u753b\uff0c\u4ee5\u53ca\u64cd\u4f5c\u5b8c\u6210\u540e\u9700">
+<meta property="og:type" content="website">
+<meta property="og:title" content="navigator">
+<meta property="og:url" content="https://weex.apache.org/cn/references/modules/navigator.html">
+<meta property="og:site_name" content="Weex">
+<meta property="og:description" content="navigator \u5bfc\u822a\u63a7\u5236v0.6.1+
+\u4f17\u6240\u5468\u77e5\uff0c\u5728\u6d4f\u89c8\u5668\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u524d\u8fdb\u6216\u8005\u56de\u9000\u6309\u94ae\u6765\u5207\u6362\u9875\u9762\uff0ciOS/Android \u7684 navigator \u6a21\u5757\u5c31\u662f\u7528\u6765\u5b9e\u73b0\u7c7b\u4f3c\u7684\u6548\u679c\u7684\u3002\u9664\u4e86\u524d\u8fdb\u3001\u56de\u9000\u529f\u80fd\uff0c\u8be5\u6a21\u5757\u8fd8\u5141\u8bb8\u6211\u4eec\u6307\u5b9a\u5728\u5207\u6362\u9875\u9762\u7684\u65f6\u5019\u662f\u5426\u5e94\u7528\u52a8\u753b\u6548\u679c\u3002
+APIpush(options, callback)\u628a\u4e00\u4e2aweex\u9875\u9762URL\u538b\u5165\u5bfc\u822a\u5806\u6808\u4e2d\uff0c\u53ef\u6307\u5b9a\u5728\u9875\u9762\u8df3\u8f6c\u65f6\u662f\u5426\u9700\u8981\u52a8\u753b\uff0c\u4ee5\u53ca\u64cd\u4f5c\u5b8c\u6210\u540e\u9700">
+<meta property="og:updated_time" content="2017-02-01T06:23:21.906Z">
+<meta name="twitter:card" content="summary">
+<meta name="twitter:title" content="navigator">
+<meta name="twitter:description" content="navigator \u5bfc\u822a\u63a7\u5236v0.6.1+
+\u4f17\u6240\u5468\u77e5\uff0c\u5728\u6d4f\u89c8\u5668\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u524d\u8fdb\u6216\u8005\u56de\u9000\u6309\u94ae\u6765\u5207\u6362\u9875\u9762\uff0ciOS/Android \u7684 navigator \u6a21\u5757\u5c31\u662f\u7528\u6765\u5b9e\u73b0\u7c7b\u4f3c\u7684\u6548\u679c\u7684\u3002\u9664\u4e86\u524d\u8fdb\u3001\u56de\u9000\u529f\u80fd\uff0c\u8be5\u6a21\u5757\u8fd8\u5141\u8bb8\u6211\u4eec\u6307\u5b9a\u5728\u5207\u6362\u9875\u9762\u7684\u65f6\u5019\u662f\u5426\u5e94\u7528\u52a8\u753b\u6548\u679c\u3002
+APIpush(options, callback)\u628a\u4e00\u4e2aweex\u9875\u9762URL\u538b\u5165\u5bfc\u822a\u5806\u6808\u4e2d\uff0c\u53ef\u6307\u5b9a\u5728\u9875\u9762\u8df3\u8f6c\u65f6\u662f\u5426\u9700\u8981\u52a8\u753b\uff0c\u4ee5\u53ca\u64cd\u4f5c\u5b8c\u6210\u540e\u9700">
+  
+    <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">\u6559\u7a0b</a></li>
+        <li><a href="/cn/references">\u624b\u518c</a></li>
+        <li><a href="/cn/faq.html">FAQ</a></li>
+        <li class="dropdown">
+            <a href="javascript:;">\u4e0b\u8f7d</a>
+            <ul class="dropdown-menu subnav">
+              <li>
+                <a href="/cn/playground.html">Playground</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weex-devtool" target="_blank">Devtool</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weexpack" target="_blank">Weexpack</a>
+              </li>
+              <li>
+                <a href="http://dotwe.org" target="_blank">Snippets</a>
+              </li>
+              <li>
+                <a href="https://market.weex-project.io/" target="_blank">Market</a>
+              </li>
+            </ul>
+        </li>
+      </ul>
+      <ul class="info">
+        <li><a href="https://github.com/alibaba/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"> <!-- \u641c\u7d22\u6846\u76f8\u5173 -->
+    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <span class="iconfont icon-search"></span>
+  </form>
+  <div class="results-panel">
+  </div>
+</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"> <!-- \u641c\u7d22\u6846\u76f8\u5173 -->
+    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." 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">
+    
+      \u624b\u518c
+    
+  </h2>
+  <ul class="doc-summary">
+    
+    
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+   
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/index.html" class="sidebar-link  ">\u901a\u7528\u7279\u6027</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/jsfm-apis.html" class="sidebar-link  ">JS Framework APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/common-style.html" class="sidebar-link  ">\u901a\u7528\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/text-style.html" class="sidebar-link  ">\u6587\u672c\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/color-names.html" class="sidebar-link  ">\u989c\u8272\u540d\u79f0\u5217\u8868</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/gesture.html" class="sidebar-link  ">\u624b\u52bf</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/path.html" class="sidebar-link  ">Path (\u82f1)</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/components/index.html" class="sidebar-link  ">\u5185\u5efa\u7ec4\u4ef6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/components/a.html" class="sidebar-link  ">&lt;a&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/slider.html" class="sidebar-link  ">&lt;slider&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/indicator.html" class="sidebar-link  ">&lt;indicator&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/switch.html" class="sidebar-link  ">&lt;switch&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/text.html" class="sidebar-link  ">&lt;text&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/textarea.html" class="sidebar-link  ">&lt;textarea&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/video.html" class="sidebar-link  ">&lt;video&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/web.html" class="sidebar-link  ">&lt;web&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/div.html" class="sidebar-link  ">&lt;div&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/image.html" class="sidebar-link  ">&lt;image&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/list.html" class="sidebar-link  ">&lt;list&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/input.html" class="sidebar-link  ">&lt;input&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/cell.html" class="sidebar-link  ">&lt;cell&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/loading.html" class="sidebar-link  ">&lt;loading&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/refresh.html" class="sidebar-link  ">&lt;refresh&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/scroller.html" class="sidebar-link  ">&lt;scroller&gt;</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/modules/index.html" class="sidebar-link  ">\u5185\u5efa\u6a21\u5757</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/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 current ">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 \u5355\u4f4d</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/common-event.html" class="sidebar-link  ">\u901a\u7528\u4e8b\u4ef6</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 \u5b9e\u4f8b\u53d8\u91cf</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/web-standards.html" class="sidebar-link  ">Web \u6807\u51c6</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 \u5728 Weex \u548c Web \u4e2d\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/vue/difference-of-vuex.html" class="sidebar-link  ">\u4f7f\u7528 Vuex \u548c vue-router</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/advanced/index.html" class="sidebar-link  ">\u9ad8\u9636\u77e5\u8bc6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-ios.html" class="sidebar-link  ">iOS \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-android.html" class="sidebar-link  ">Android \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-html5.html" class="sidebar-link  ">HTML5 \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-jsfm.html" class="sidebar-link  ">\u62d3\u5c55 JS framework</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-android.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 Android</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-ios.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 iOS</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link  ">\u8fc1\u79fb</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/migration/migration-from-weex.html" class="sidebar-link  ">\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/migration/difference.html" class="sidebar-link  ">Weex \u548c Vue 2.x \u7684\u8bed\u6cd5\u5dee\u5f02</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a></h3>
+        
+      </li>
+    
+    
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/v-0.10/references/index.html" class="sidebar-link">\u65e7\u6587\u6863</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">
+    
+      \u624b\u518c
+    
+  </h2>
+  <ul class="doc-summary">
+    
+    
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+   
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/index.html" class="sidebar-link  ">\u901a\u7528\u7279\u6027</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/jsfm-apis.html" class="sidebar-link  ">JS Framework APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/common-style.html" class="sidebar-link  ">\u901a\u7528\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/text-style.html" class="sidebar-link  ">\u6587\u672c\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/color-names.html" class="sidebar-link  ">\u989c\u8272\u540d\u79f0\u5217\u8868</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/gesture.html" class="sidebar-link  ">\u624b\u52bf</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/path.html" class="sidebar-link  ">Path (\u82f1)</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/components/index.html" class="sidebar-link  ">\u5185\u5efa\u7ec4\u4ef6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/components/a.html" class="sidebar-link  ">&lt;a&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/slider.html" class="sidebar-link  ">&lt;slider&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/indicator.html" class="sidebar-link  ">&lt;indicator&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/switch.html" class="sidebar-link  ">&lt;switch&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/text.html" class="sidebar-link  ">&lt;text&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/textarea.html" class="sidebar-link  ">&lt;textarea&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/video.html" class="sidebar-link  ">&lt;video&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/web.html" class="sidebar-link  ">&lt;web&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/div.html" class="sidebar-link  ">&lt;div&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/image.html" class="sidebar-link  ">&lt;image&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/list.html" class="sidebar-link  ">&lt;list&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/input.html" class="sidebar-link  ">&lt;input&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/cell.html" class="sidebar-link  ">&lt;cell&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/loading.html" class="sidebar-link  ">&lt;loading&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/refresh.html" class="sidebar-link  ">&lt;refresh&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/scroller.html" class="sidebar-link  ">&lt;scroller&gt;</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/modules/index.html" class="sidebar-link  ">\u5185\u5efa\u6a21\u5757</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/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 current ">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 \u5355\u4f4d</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/common-event.html" class="sidebar-link  ">\u901a\u7528\u4e8b\u4ef6</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 \u5b9e\u4f8b\u53d8\u91cf</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/web-standards.html" class="sidebar-link  ">Web \u6807\u51c6</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 \u5728 Weex \u548c Web \u4e2d\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/vue/difference-of-vuex.html" class="sidebar-link  ">\u4f7f\u7528 Vuex \u548c vue-router</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/advanced/index.html" class="sidebar-link  ">\u9ad8\u9636\u77e5\u8bc6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-ios.html" class="sidebar-link  ">iOS \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-android.html" class="sidebar-link  ">Android \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-html5.html" class="sidebar-link  ">HTML5 \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-jsfm.html" class="sidebar-link  ">\u62d3\u5c55 JS framework</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-android.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 Android</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-ios.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 iOS</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link  ">\u8fc1\u79fb</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/migration/migration-from-weex.html" class="sidebar-link  ">\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/migration/difference.html" class="sidebar-link  ">Weex \u548c Vue 2.x \u7684\u8bed\u6cd5\u5dee\u5f02</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a></h3>
+        
+      </li>
+    
+    
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/v-0.10/references/index.html" class="sidebar-link">\u65e7\u6587\u6863</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">
+        navigator
+      </h1>
+    
+  
+  <time class="article-date" datetime="2017-02-01T06:23:21.906Z">Updated time: 01/02/2017</time>
+</header>
+    <h1 id="navigator-\u5bfc\u822a\u63a7\u5236"><a href="#navigator-\u5bfc\u822a\u63a7\u5236" class="headerlink" title="navigator \u5bfc\u822a\u63a7\u5236"></a><code>navigator</code> \u5bfc\u822a\u63a7\u5236</h1><p><span class="weex-version">v0.6.1+</span></p>
+<p>\u4f17\u6240\u5468\u77e5\uff0c\u5728\u6d4f\u89c8\u5668\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u524d\u8fdb\u6216\u8005\u56de\u9000\u6309\u94ae\u6765\u5207\u6362\u9875\u9762\uff0ciOS/Android \u7684 <code>navigator</code> \u6a21\u5757\u5c31\u662f\u7528\u6765\u5b9e\u73b0\u7c7b\u4f3c\u7684\u6548\u679c\u7684\u3002\u9664\u4e86\u524d\u8fdb\u3001\u56de\u9000\u529f\u80fd\uff0c\u8be5\u6a21\u5757\u8fd8\u5141\u8bb8\u6211\u4eec\u6307\u5b9a\u5728\u5207\u6362\u9875\u9762\u7684\u65f6\u5019\u662f\u5426\u5e94\u7528\u52a8\u753b\u6548\u679c\u3002</p>
+<h2 id="API"><a href="#API" class="headerlink" title="API"></a>API</h2><h3 id="push-options-callback"><a href="#push-options-callback" class="headerlink" title="push(options, callback)"></a><code>push(options, callback)</code></h3><p>\u628a\u4e00\u4e2aweex\u9875\u9762URL\u538b\u5165\u5bfc\u822a\u5806\u6808\u4e2d\uff0c\u53ef\u6307\u5b9a\u5728\u9875\u9762\u8df3\u8f6c\u65f6\u662f\u5426\u9700\u8981\u52a8\u753b\uff0c\u4ee5\u53ca\u64cd\u4f5c\u5b8c\u6210\u540e\u9700\u8981\u6267\u884c\u7684\u56de\u8c03\u51fd\u6570</p>
+<h4 id="\u53c2\u6570"><a href="#\u53c2\u6570" class="headerlink" title="\u53c2\u6570"></a>\u53c2\u6570</h4><ul>
+<li><code>options {Object}</code>\uff1a\u9009\u9879\u53c2\u6570<ul>
+<li><code>url {stirng}</code>\uff1a\u8981\u538b\u5165\u7684 Weex \u9875\u9762\u7684 URL</li>
+<li><code>animated {string}</code>\uff1a<code>&quot;true&quot;</code> \u793a\u610f\u4e3a\u9875\u9762\u538b\u5165\u65f6\u9700\u8981\u52a8\u753b\u6548\u679c\uff0c<code>&quot;false&quot;</code> \u5219\u4e0d\u9700\u8981\uff0c\u9ed8\u8ba4\u503c\u4e3a <code>&quot;true&quot;</code></li>
+</ul>
+</li>
+<li><code>callback {Function}</code>\uff1a\u6267\u884c\u5b8c\u8be5\u64cd\u4f5c\u540e\u7684\u56de\u8c03\u51fd\u6570</li>
+</ul>
+<h3 id="pop-options-callback"><a href="#pop-options-callback" class="headerlink" title="pop(options, callback)"></a><code>pop(options, callback)</code></h3><p>\u628a\u4e00\u4e2a Weex \u9875\u9762 URL \u5f39\u51fa\u5bfc\u822a\u5806\u6808\u4e2d\uff0c\u53ef\u6307\u5b9a\u5728\u9875\u9762\u5f39\u51fa\u65f6\u662f\u5426\u9700\u8981\u52a8\u753b\uff0c\u4ee5\u53ca\u64cd\u4f5c\u5b8c\u6210\u540e\u9700\u8981\u6267\u884c\u7684\u56de\u8c03\u51fd\u6570\u3002</p>
+<h4 id="\u53c2\u6570-1"><a href="#\u53c2\u6570-1" class="headerlink" title="\u53c2\u6570"></a>\u53c2\u6570</h4><ul>
+<li><code>options {object}</code>\uff1a\u9009\u9879\u53c2\u6570\u5bf9\u8c61<ul>
+<li><code>animated {string}</code>\uff1a<code>&quot;true&quot;</code> \u793a\u610f\u4e3a\u5f39\u51fa\u9875\u9762\u65f6\u9700\u8981\u52a8\u753b\u6548\u679c\uff0c<code>&quot;false&quot;</code> \u5219\u4e0d\u9700\u8981\uff0c\u9ed8\u8ba4\u503c\u4e3a <code>&quot;true&quot;</code></li>
+</ul>
+</li>
+<li><code>callback {function}</code>\uff1a\u6267\u884c\u5b8c\u8be5\u64cd\u4f5c\u540e\u7684\u56de\u8c03\u51fd\u6570</li>
+</ul>
+<p><em>\u6ce8\u610f\u4e8b\u9879\uff1a<code>animated</code> \u4e8c\u7ea7\u53c2\u6570\u76ee\u524d\u4ec5\u652f\u6301\u5b57\u7b26\u4e32\u7684 <code>&quot;true&quot;</code> \u548c <code>&quot;false&quot;</code>\uff0c\u4f20\u5165\u5e03\u5c14\u503c\u7c7b\u578b\u4f1a\u5bfc\u81f4\u7a0b\u5e8f\u5d29\u6e83\uff0c\u672a\u6765\u7248\u672c\u4f1a\u4fee\u590d\u8fd9\u4e2a\u95ee\u9898</em></p>
+<h2 id="Example"><a href="#Example" class="headerlink" title="Example"></a>Example</h2><figure class="highlight html"><table><tr><td class="code"><pre><div class="line"><span class="tag">&lt;<span class="name">template</span>&gt;</span></div><div class="line">  <span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">"wrapper"</span>&gt;</span></div><div class="line">    <span class="tag">&lt;<span class="name">text</span> <span class="attr">class</span>=<span class="string">"button"</span> @<span class="attr">click</span>=<span class="string">"jump"</span>&gt;</span>Jump<span class="tag">&lt;/<span class="name">text</span>&gt;</span></div><div class="line">  <span class="tag">&lt;/<span class="name">div</span>&gt;</span></div><div class="line"><span class="tag">&lt;/<span class="name">template</span>&gt;</span></div><div class="line"></div><div class="line"><span class="tag">&lt;<span class="name">script</span>&gt;</span><span class="
 javascript"></span></div><div class="line">  <span class="keyword">var</span> navigator = weex.requireModule(<span class="string">'navigator'</span>)</div><div class="line">  <span class="keyword">var</span> modal = weex.requireModule(<span class="string">'modal'</span>)</div><div class="line"></div><div class="line">  <span class="keyword">export</span> <span class="keyword">default</span> &#123;</div><div class="line">    <span class="attr">methods</span>: &#123;</div><div class="line">      jump (event) &#123;</div><div class="line">        <span class="built_in">console</span>.log(<span class="string">'will jump'</span>)</div><div class="line">        navigator.push(&#123;</div><div class="line">          <span class="attr">url</span>: <span class="string">'http://dotwe.org/raw/dist/519962541fcf6acd911986357ad9c2ed.js'</span>,</div><div class="line">          <span class="attr">animated</span>: <span class="string">"true"</span></div><div class="line">        &#125;, event =&gt;
  &#123;</div><div class="line">          modal.toast(&#123; <span class="attr">message</span>: <span class="string">'callback: '</span> + event &#125;)</div><div class="line">        &#125;)</div><div class="line">      &#125;</div><div class="line">    &#125;</div><div class="line">  &#125;;</div><div class="line"><span class="tag">&lt;/<span class="name">script</span>&gt;</span></div><div class="line"></div><div class="line"><span class="tag">&lt;<span class="name">style</span> <span class="attr">scoped</span>&gt;</span><span class="css"></span></div><div class="line">  <span class="selector-class">.wrapper</span> &#123;</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">  &#125;</div><div class="line">  <span class="selector-class">.button</span> &#123;</div><div class="line">    <span class="attribute">font-size</span>: <span class="number">60p
 x</span>;</div><div class="line">    <span class="attribute">width</span>: <span class="number">450px</span>;</div><div class="line">    <span class="attribute">text-align</span>: center;</div><div class="line">    <span class="attribute">margin-top</span>: <span class="number">30px</span>;</div><div class="line">    <span class="attribute">margin-left</span>: <span class="number">150px</span>;</div><div class="line">    <span class="attribute">padding-top</span>: <span class="number">20px</span>;</div><div class="line">    <span class="attribute">padding-bottom</span>: <span class="number">20px</span>;</div><div class="line">    <span class="attribute">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">color</span>: <span class="number">#666666</span>;</div><div class="line">    <span class="attribute">border-color</span>: <span class="number">#DDDDDD
 </span>;</div><div class="line">    <span class="attribute">background-color</span>: <span class="number">#F5F5F5</span></div><div class="line">  &#125;</div><div class="line"><span class="tag">&lt;/<span class="name">style</span>&gt;</span></div></pre></td></tr></table></figure>
+<p><a href="../../../examples/navigator.html">try it</a></p>
+
+  </div>
+  
+</article>
+</div>
+  
+  <footer id="footer">
+  <div class="row clearfix">
+    <div class="ali-logo">
+      <img src="//gw.alicdn.com/tps/TB1Ef93PXXXXXaXXpXXXXXXXXXX-252-126.png" alt="Alibaba">
+    </div>
+    <div class="dropdown select-lang">
+      <a href="javascript:;" class="dropdown-toggle">
+        Language
+        <span class="caret"></span>
+      </a>
+      <ul class="dropdown-menu">
+        <li>
+          <a href="/references/modules/navigator.html">English</a>
+        </li>
+        <li>
+          <a href="/cn/references/modules/navigator.html">\u4e2d\u6587</a>
+        </li>
+      </ul>
+    </div>
+  </div>
+  <div class="row">
+    <p><span>Released under </span><a href="">Apache License 2.0</a></p>
+  </div>
+  <div class="row clearfix">
+    <div class="cell"><span>Copyright(c) 2016 </span><a href="https://www.alibaba.com">Alibaba</a></div>
+    <div class="cell"><span>GroupMade by </span><a href="">\u963f\u91cc\u4e91UED AX</a></div>
+  </div>
+</footer>
+  <div style="display: none;">
+  <script src="//s95.cnzz.com/z_stat.php?id=1261102667&amp;web_id=1261102667" language="JavaScript"></script>
+</div>
+
+  <script src="/js/reqwest.js"></script>
+  <script src="/js/common.js"></script>
+</body>
+</html>