Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 982 Bytes

File metadata and controls

25 lines (18 loc) · 982 Bytes

<a>

0.5 cn

###Summary <a> defines a hyperlink to a page in the web. Its purpose and syntax is very simliar to <a> in HTML5.

Child Components

This type of component supports all kinds of weex component as its child components except for its own kind.

Attributes

href

href attributes defines the URL of the hyperlink.

Styles

common styles: check out the common styles

Events

common events: check out the common events

Examples

<a href="http://g.tbcdn.cn/ali-wireless-h5/res/0.0.16/hello.js">
   <text>Click me to see how 'A' element opens a new world.</text>
</a>