Workspace โ€บ ensureSideLeaf

Workspace.ensureSideLeaf() method

Get side leaf or create one if one does not exist.

Signature:

ensureSideLeaf(type: string, side: Side, options?: {
        active?: boolean;
        split?: boolean;
        reveal?: boolean;
        state?: any;
    }): Promise<WorkspaceLeaf>;

Parameters

ParameterTypeDescription
typestring
sideSide
options{ active?: boolean; split?: boolean; reveal?: boolean; state?: any; }(Optional)

Returns:

Promise<WorkspaceLeaf>