From Documentation

Jump to: navigation, search


Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-check-icon.png nested in a zul file via <custom-attributes>
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.

    <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.