canvasId property

String? canvasId
final

Optional id of an existing canvas element.

When null, a new canvas is created and appended to the document body (if appendToBody is true).

Implementation

final String? canvasId;