@mocanvas/mocanvas · interface

DebugFlagDef

interface DebugFlagDef<T>

One flag: a name, a default, and the signal holding its current value.


Properties · 4

defaultValue: T
name: string
shouldStore?: boolean

Show it in the debug panel.

value: Atom<T>

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.