加载中...

1.5.4.14 a


0.5

Summary

<a> defines a hyperlink to a page in the web. Its purpose and syntax is very similar 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
tip: we can't guarantee the order of execution between onclick function and href

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> 

还没有评论.