From Documentation

Jump to: navigation, search








Property:

org.zkoss.zul.image.preload
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-check-icon.png nested in a zul file via <custom-attribute>
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 : 2016/7/7


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



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



You got stuck here?
Let us know how we can improve this page
For specific questions please use the forum