@mocanvas/mocanvas · function

getBookmarkAsset

declare function getBookmarkAsset(editor: Editor, shape: BookmarkShape): BookmarkAsset | null

The shape's bookmark asset, or null when it has none (or one of another 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.