@mocanvas/editor · interface

TLBaseExternalContent

interface TLBaseExternalContent

What every kind of external content carries.

point is in page space and defaults to the centre of the viewport (or the pointer, when the person has the paste-at-cursor preference on).


Properties · 2

point?: VecModel | undefined

Where the content should land, in page space.

sources?: TLExternalContentSource[] | undefined

The other readings of the same paste, for a handler that would rather use one of them. Present for a clipboard paste; absent for a drop.

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.