@mocanvas/mocanvas · interface

CustomEmbedDefinition

interface CustomEmbedDefinition extends EmbedDefinition

An embed definition supplied by the app.

Structurally the same as a built-in one — which is the point: there is no privileged category of embed, and a custom definition can do anything a built-in does, including declaring an aspect ratio and recovering a page url from an embed url.

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.