Contents

ImageHashObject

An object that defines a set of images URLs for different scales.

Declaration

type ImageHashObject = {
    [ratio: string]: string | undefined;
} & {};

Discussion

The framework automatically loads the appropriate image for the device’s screen scale. Use ImageDelegate to provide custom URLs for different scales.

See Also

Setting images