@mocanvas/editor · interface

TLOverlayDisplayValuesSource

interface TLOverlayDisplayValuesSource<D extends object = object>

What getOverlayDisplayValues needs from an overlay util: the editor it belongs to, its options, and its optional override.

Structural, so a util fetched out of editor.overlays by type string — which has lost its display-value type by then — still fits.


Properties · 3

editor: unknown
getCustomDisplayValues?: TLGetCustomOverlayDisplayValues<D> | undefined
options?: OverlayOptionsWithDisplayValues<D> | undefined

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.