CanvasElement

CanvasElement

CanvasElement is a virtual Canvas element.

It has two specific style properties called -cards-pixelWidth and -cards-pixelHeight.

When those values in the style dictionary change, the DOM attributes of the corresponding native canvas element are updated.