@mocanvas/mocanvas · interface

EmbedShapeOptions

interface EmbedShapeOptions extends ShapeUtilOptions<EmbedShape, EmbedShapeUtilDisplayValues>

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 2

embedConfig?: EmbedConfig

Per-service settings, keyed by EmbedDefinition.type — see EmbedConfig. Read back as EmbedShapeUtil.embedConfig.

embedDefinitions?: readonly EmbedDefinition[]

The permit list this util embeds from. Defaults to the mutable module-level embedDefinitions; naming one here is how two editors on a page get different permit lists, and how an app avoids mutating a global.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.