Button"
From Documentation
m (→Use cases) |
m (→Use cases) |
||
Line 73: | Line 73: | ||
! Version !! Description !! Example Location | ! Version !! Description !! Example Location | ||
|- | |- | ||
− | | | + | | 3.6+ |
| Get dynamically generated Button reference in onClick Event | | Get dynamically generated Button reference in onClick Event | ||
| [http://www.zkoss.org/forum/listComment/8780 http://www.zkoss.org/forum/listComment/8780] | | [http://www.zkoss.org/forum/listComment/8780 http://www.zkoss.org/forum/listComment/8780] | ||
|- | |- | ||
− | | | + | | 3.6+ |
| How to fire onClick Event on a Button | | How to fire onClick Event on a Button | ||
| [http://www.zkoss.org/forum/listComment/1716 http://www.zkoss.org/forum/listComment/1716] | | [http://www.zkoss.org/forum/listComment/1716 http://www.zkoss.org/forum/listComment/1716] |
Revision as of 04:53, 28 April 2010
Button
Employment/Purpose
You could assign a label and an image to a button by the label and image properties. If both are specified, the dir property control which is displayed up front, and the orient property controls whether the layout is horizontal or vertical.
Example
<button label="Left" image="/img/folder.gif" width="125px"/>
<button label="Right" image="/img/folder.gif" dir="reverse" width="125px"/>
<button label="Above" image="/img/folder.gif" orient="vertical" width="125px"/>
<button label="Below" image="/img/folder.gif" orient="vertical" dir="reverse" width="125px"/>
Supported events
MouseEvent
| |
MouseEvent
| |
MouseEvent
| |
Event
| |
Event
|
Supported Children
*NONE
Use cases
Version | Description | Example Location |
---|---|---|
3.6+ | Get dynamically generated Button reference in onClick Event | http://www.zkoss.org/forum/listComment/8780 |
3.6+ | How to fire onClick Event on a Button | http://www.zkoss.org/forum/listComment/1716 |
Version History
Version | Date | Content |
---|---|---|
5.0.1 | 4/27/2010 | Initialization |