A"

From Documentation
Line 34: Line 34:
 
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.
 
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=
  
 
{| border="1" | width="100%"
 
{| border="1" | width="100%"
Line 43: Line 43:
 
| None
 
| None
 
|}
 
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/LabelImageElement#Supported_Events | LabelImageElement]]
  
 
=Supported Children=
 
=Supported Children=

Revision as of 03:42, 23 November 2010

A

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

Employment/Purpose

The same as HTML A tag.


Example

ZKComRef A Examples.PNG

<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

Name
Event Type
None None

Supported Children

*ALL

Use cases

Version Description Example Location
     

Version History

Last Update : 2010/11/23


Version Date Content
5.0.5 October, 2010 <javadoc>org.zkoss.zul.A</a> supports any children.



Last Update : 2010/11/23

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