A"

From Documentation
Line 31: Line 31:
 
</a>
 
</a>
 
</source>
 
</source>
 +
 +
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=
 
=Supported events=

Revision as of 06:54, 20 October 2010

A

  • Demonstration: N/A
  • Java API: A
  • JavaScript API: A

Employment/Purpose

The same as HTML A tag.


Example

<a href="http://www.zkoss.org" label="Visit ZK!"/>

ZKComRef A Examples.PNG

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

Name
Event Type
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.



Last Update : 2010/10/20

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.