The options for the renderImage function.

interface IRenderOptions {
    height?: number;
    host: HTMLElement;
    mimeType: string;
    needsBackground?: string;
    source: string;
    unconfined?: boolean;
    width?: number;


height?: number

The optional height for the image.

The image node to update with the content.

mimeType: string

The mime type for the image.

needsBackground?: string

Whether an image requires a background for legibility.

source: string

The base64 encoded source for the image.

unconfined?: boolean

Whether the image should be unconfined.

width?: number

The optional width for the image.