Home > @i2analyze/notebook-sdk > commands > IGroupConfigBase > context
commands.IGroupConfigBase.context property
Gets the command-context type, which determines what event API is passed to commands.IGroupConfigBase.onSurface().
Signature:
readonly context?: TCommandType;
Returns: TCommandType
Introduced: version 1.10
Remarks
Mirrors commands.IDynamicGroupConfigBase.context (and, by analogy, commands.ICommandConfig.type). Defaults to 'unscoped', which means commands.IGroupConfigBase.onSurface() receives no event API.