A"
From Documentation
m (→Example) |
|||
Line 13: | Line 13: | ||
= Example = | = Example = | ||
+ | |||
+ | [[Image:ZKComRef_A_Examples.PNG]] | ||
<source lang="xml" > | <source lang="xml" > | ||
<a href="http://www.zkoss.org" label="Visit ZK!"/> | <a href="http://www.zkoss.org" label="Visit ZK!"/> | ||
</source> | </source> | ||
− | |||
− | |||
In additions, you could add child components to <javadoc>org.zkoss.zul.A</javadoc> too: | In additions, you could add child components to <javadoc>org.zkoss.zul.A</javadoc> too: |
Revision as of 03:34, 23 November 2010
A
Employment/Purpose
The same as HTML A tag.
Example
<a href="http://www.zkoss.org" label="Visit ZK!"/>
In additions, you could add child components to A too:
<a href="http://www.zkoss.org" label="Visit ZK!" image="zk.png">
<grid>
<rows>
<row>What ever content</row>
</rows>
</grid>
</a>
Notice that a child component might also handle the mouse click, so the final result of clicking on a child component is really up to which child component is used.
Supported events
None | None |
Supported Children
*ALL
Use cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|
5.0.5 | October, 2010 | <javadoc>org.zkoss.zul.A</a> supports any children. |