org.zkoss.zul.image.preload

From Documentation
Revision as of 09:42, 7 July 2016 by Robertwenzel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


org.zkoss.zul.image.preload


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

<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/07/07


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


Last Update : 2016/07/07

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