@mocanvas/mocanvas · interface

KeyboardShortcutOptions

interface KeyboardShortcutOptions

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 1

tools?: boolean

Bind the plain-key tool switches (v, h, n, …). Leave it on for an editor with no chrome; turn it OFF whenever the chrome is mounted, because the UI tool list binds those keys itself — and it is the list an app's TLUiOverrides.tools can rewrite, so a binding hard-coded here would survive an override that meant to remove it. Defaults to true.

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.