Optional
__fixOptional
containerThe parent element of the canvas, used to calculate the canvas size.
If set to false
, the canvas size will be based on the Window
object.
false
Optional
hasResizes the canvas during initialization.
true
Optional
hasEnables updating the canvas size when the window is resized.
false
Optional
resizeThe debounce time (in milliseconds) for the resize event.
0
Optional
shouldDetermines whether the canvas element should be appended to the parent element.
true
Optional
viewportThe target for the viewport resize event.
'any'
Static properties for a component. These properties remain constant throughout the lifecycle of the component. This interface extends IStaticProps, inheriting the static properties defined for modules.