zng_wgt_image

Module node

Source
Expand description

UI nodes used for building the image widget.

Statics§

CONTEXT_IMAGE_VAR
Image acquired by image_source, or "no image source in context" error by default.

Functions§

image_error_presenter
Presents the contextual IMAGE_ERROR_FN_VAR if the CONTEXT_IMAGE_VAR is an error.
image_loading_presenter
Presents the contextual IMAGE_LOADING_FN_VAR if the CONTEXT_IMAGE_VAR is loading.
image_presenter
Renders the CONTEXT_IMAGE_VAR if set.
image_source
Requests an image from IMAGES and sets CONTEXT_IMAGE_VAR.