Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Function.Configure Command Stack Options

sprotty / configureCommandStackOptions

Function: configureCommandStackOptions()

configureCommandStackOptions(context, options): void

Defined in: packages/sprotty/src/base/commands/command-stack-options.ts:49

Utility function to partially set command stack options. Default values (from defaultViewerOptions) are used for options that are not specified.

Parameters

context

bind

Bind

isBound

IsBound

rebind

Rebind

options

Partial<CommandStackOptions>

Returns

void