@mocanvas/editor · function

getAssetSrc

declare function getAssetSrc(asset: Asset): string | null

The src an asset carries in its own props, or null when it has none yet.

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.