Interface IChangeableProps

Changeable properties for a component. These properties may change during the component's lifecycle, such as in response to window resizing or user actions. This interface extends IChangeableProps, inheriting the mutable properties defined for modules.

Hierarchy

Properties

__fixHelperChangeableProps?: any
dpr?: number | "auto"

The device pixel ratio (DPR) to be used for the canvas. If set to auto, the DPR will be automatically calculated.

Default

'auto'
height?: number | "auto"

The height of the canvas (without considering device pixel ratio). If set to auto, the height will match the container's height.

Default

'auto'
posRule?: PosRule

The positioning rule for the media element. This defines how the media should be positioned within the canvas. *

Default

'cover'
width?: number | "auto"

The width of the canvas (without considering device pixel ratio). If set to auto, the width will match the container's width.

Default

'auto'