-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I am getting some issue i have used visible attribute in my zul page and when visible=false
then the below DIV is not loading but even in that case it is taking space acquire by this DIV. Is this normal property for zul. What changes i have to do if i do not want if visibility false than it div component will not take acquire space as well?
<div visible="@load(vm.iframeVisibility)" >
//Some code
</div>
You should use the if
attribute if you don't want that the div is put into the dom structure.
The if
is rendered in a phase before you can speak the dynamic data, so @load(vm.iframeVisibility)
won't work here. You have to use the ${}
expressions.
Greetz chill.
Asked: 2015-01-20 13:15:41 +0800
Seen: 34 times
Last updated: Jan 20 '15