org.zkoss.zul.image.preload"

From Documentation
m (Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zul.image.preload Default: false [Since 6.5.2] It specifies the image will be preloaded or not for [[ZK_Co...")
 
m
Line 1: Line 1:
{{ZKConfigurationReferencePageHeader}}
+
{{ZKConfigurationReferencePageHeader}}
  
 
'''Property:'''
 
'''Property:'''
Line 9: Line 9:
 
It specifies the image will be preloaded or not for [[ZK_Component_Reference/Base_Components/LabelImageElement|LabelImageElement]] and [[ZK_Component_Reference/Essential_Components/Image|Image]] component.
 
It specifies the image will be preloaded or not for [[ZK_Component_Reference/Base_Components/LabelImageElement|LabelImageElement]] and [[ZK_Component_Reference/Essential_Components/Image|Image]] component.
  
{{ZKConfigurationReferencePageFooter}}
+
If you prefer to configure a particular component, you could specify it as the custom attribute of the component or any of its ancestor components.
 +
 
 +
<source lang="xml">
 +
<image>
 +
    <custom-attributes org.zkoss.zul.image.preload="true"/>
 +
...
 +
<button image="src.png">
 +
    <custom-attributes org.zkoss.zul.image.preload="true"/>
 +
...
 +
</source>
 +
 
 +
=Version History=
 +
{{LastUpdated}}
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| 6.5.2
 +
| March 2013
 +
| Preload image is now configurable in zk.xml.
 +
|}
 +
{{ZKConfigurationReferencePageFooter}}

Revision as of 09:10, 7 March 2013


org.zkoss.zul.image.preload


Property:

org.zkoss.zul.image.preload
Default: false
[Since 6.5.2]

It specifies the image will be preloaded or not for LabelImageElement and Image component.

If you prefer to configure a particular component, you could specify it as the custom attribute of the component or any of its ancestor components.

<image>
    <custom-attributes org.zkoss.zul.image.preload="true"/>
...
<button image="src.png">
    <custom-attributes org.zkoss.zul.image.preload="true"/>
...

Version History

Last Update : 2013/03/07


Version Date Content
6.5.2 March 2013 Preload image is now configurable in zk.xml.


Last Update : 2013/03/07

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