Optional
__fixOptional
dprThe device pixel ratio (DPR) to be used for the canvas.
If set to auto
, the DPR will be automatically calculated.
'auto'
Optional
heightThe height of the canvas (without considering device pixel ratio).
If set to auto
, the height will match the container's height.
'auto'
Optional
posThe positioning rule for the media element. This defines how the media should be positioned within the canvas. *
'cover'
Optional
widthThe width of the canvas (without considering device pixel ratio).
If set to auto
, the width will match the container's width.
'auto'
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.