Base options for background

interface BackgroundOptions {
    onBackgroundReady?: OnBackgroundReadyCallback;
    type: string;
    visible?: boolean;
}

Hierarchy (view full)

Properties

onBackgroundReady?: OnBackgroundReadyCallback

Optional function to call when the image has loaded (or otherwise claims to be ready)

type: string

Type of background to render.

visible?: boolean

Whether or not the background should initially be visible. Defaults to true.