zng_wgt_image

Function img_block_window_load

source
pub fn img_block_window_load(
    child: impl UiNode,
    enabled: impl IntoValue<BlockWindowLoad>,
) -> impl UiNode
Expand description

P Block window load until image is loaded.

If the image widget is in the initial window content a WindowLoadingHandle is used to delay the window visually opening until the source loads, fails to load or a timeout elapses. By default true sets the timeout to 1 second.