Skip to content

Commit

Permalink
Add a getTargetWorkspace method to flyout_base.ts (#7519)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivalkshfoeif authored Sep 22, 2023
1 parent a04a097 commit bb42535
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/flyout_base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,15 @@ export abstract class Flyout extends DeleteArea implements IFlyout {
return this.workspace_;
}

/**
* Get the target workspace inside the flyout.
*
* @returns The target workspace inside the flyout.
*/
getTargetWorkspace(): WorkspaceSvg {
return this.targetWorkspace;
}

/**
* Is the flyout visible?
*
Expand Down

0 comments on commit bb42535

Please sign in to comment.