@mocanvas/editor · interface

TLTemporaryAssetPreview

interface TLTemporaryAssetPreview

A preview shown while an upload is still in flight.


Properties · 2

createdAt: number

When it was created, for expiry against temporaryAssetPreviewLifetimeMs.

url: string

Object URL (or data URL) to paint until the real asset arrives.

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.