Skip to main content

BackgroundComponent

const BackgroundComponent: object

This is a headless component that adds a background to the surface/paper it resides in.

Type Declaration​

mounted()​

mounted: () => void

Returns​

void

name​

name: string = COMPONENT_BACKGROUND

props​

props: object

props.options​

options: object

props.options.type​

type: PropType<BackgroundOptions>

render()​

render: (_ctx) => any

Parameters​

_ctx​

any

Returns​

any

setup()​

setup(): object

Returns​

object

service​

service: unknown