zng_wgt_image::node

Function image_loading_presenter

source
pub fn image_loading_presenter(child: impl UiNode) -> impl UiNode
Expand description

Presents the contextual IMAGE_LOADING_FN_VAR if the CONTEXT_IMAGE_VAR is loading.

The loading view is rendered under the child.

The image widget adds this node around the image_error_presenter node.