You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by YorkShen <gi...@git.apache.org> on 2017/11/28 09:50:08 UTC

[GitHub] incubator-weex-site pull request #16: + [doc] Add doc for a component

GitHub user YorkShen opened a pull request:

    https://github.com/apache/incubator-weex-site/pull/16

    + [doc] Add doc for a component

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/YorkShen/incubator-weex-site doc-a

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex-site/pull/16.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16
    
----
commit 585f904cc6d04e7afe91c58fcfe84d6479be0291
Author: york.sy <yo...@alibaba-inc.com>
Date:   2017-11-28T09:48:47Z

    + [doc] Add doc for a

----


---

[GitHub] incubator-weex-site pull request #16: + [doc] Add doc for a component

Posted by cxfeng1 <gi...@git.apache.org>.
Github user cxfeng1 commented on a diff in the pull request:

    https://github.com/apache/incubator-weex-site/pull/16#discussion_r162038971
  
    --- Diff: source/cn/references/components/a.md ---
    @@ -6,81 +6,37 @@ order: 8.04
     version: 2.1
     ---
     
    -# &lt;a&gt;
    +`<a>` 用于实现页面间的跳转。
     
    -`<a>` 组件定义了指向某个页面的一个超链接. 此组件的作用和用法与HTML5中的 [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) 非常类似,区别在于 Weex 的 `<a>` 组件**不能**直接在里面添加文本(字符串),如果要展示文本,应该添加 `<text>` 组件。
    +> **注意:** 除了本文档中注明的特性,`<a>` 的表现同 [`<div>`](./div.html) 一致。
     
    -## 子组件
    +> **注意:** 不能要 `<a>` 中直接添加匿名文本,请用 [`<text>`](./text.html) 包裹文本。
    --- End diff --
    
    不能在


---

[GitHub] incubator-weex-site pull request #16: + [doc] Add doc for a component

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-weex-site/pull/16


---