@mocanvas/editor · class

RootState

declare class RootState extends StateNode

The root of the tool tree. Its children are the tools.


Methods · 1

onKeyDown(info: KeyboardEventInfo): void

Properties · 3

static children: () => StateNodeConstructor[]
static id: string
static initial: string

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.