@mocanvas/editor · interface

TLAssetUtilConstructor

interface TLAssetUtilConstructor<A extends Asset = Asset, U extends AssetUtil<A> = AssetUtil<A>>

An asset util as an app registers it: the class, not an instance.


Methods · 1

new (editor: Editor): U

Properties · 3

readonly migrations?: unknown
readonly props?: UnknownRecordProps
readonly type: A["type"]

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.