Skip to content

Commit

Permalink
Add a getTargetWorkspace method to flyout_base.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ivalkshfoeif committed Sep 22, 2023
1 parent 4a6d439 commit 48c45c5
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 48c45c5

Please sign in to comment.