Skip to main content

IMGElementStateLoading

export
interface IMGElementStateLoading {
  alt?: string;
  altColor?: string;
  containerStyle: ViewStyle;
  dimensions: ImageDimensions;
  source: ImageURISource;
  type: "loading";
}

State when the image is loading.

Fields#

alt#

optional
alt?: string;

Alt text extract from alt attribute.

altColor#

optional
altColor?: string;

Alt color, defaults to color for this ​TNode.

containerStyle#

required
containerStyle: ViewStyle;

Styles of the container.

dimensions#

required
dimensions: ImageDimensions;

Physical dimensions of the image

source#

required
source: ImageURISource;

The source to paint.

type#

required
type: "loading";