@jsvision/ui / EditorCommandSeam
Interface: EditorCommandSeam
Defined in: ui/src/editor/editor-types.ts:17
Optional hook for greying out menu/status commands (Cut, Copy, Paste, …) as the editor's state changes.
Methods
enable()
enable(
command,enabled):void
Defined in: ui/src/editor/editor-types.ts:19
Enable or disable a command by name; wire this to your app's command registry.
Parameters
command
string
enabled
boolean
Returns
void