Home > @i2analyze/notebook-sdk > commands > IActionArea > before
commands.IActionArea.before() method
Locates the area of the user interface that appears immediately before the action that represents the specified command.
Signature:
before(command: ICommand): IActionArea<undefined>;
Introduced: version 1.1
Parameters
Parameter | Type | Description |
---|---|---|
command | ICommand | The surfaced command to use as a reference. |
Returns:
IActionArea<undefined>
An object that you can use to add actions or a group to the located area.
Exceptions
Error
if command.id
is not a valid CommandId.