From 1cccc3cb4a185d84b455e956201d7ff2d434acc8 Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Thu, 1 Dec 2022 17:46:21 +0100 Subject: [PATCH] docs: make three methods not internal (#6666) Amusingly Flyout.isVisible and .setVisible are public, but there's no way to access a flyout given that getFlyout was not public. --- core/flyout_base.ts | 1 - core/workspace_svg.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/core/flyout_base.ts b/core/flyout_base.ts index 762e9078c..89123a083 100644 --- a/core/flyout_base.ts +++ b/core/flyout_base.ts @@ -450,7 +450,6 @@ export abstract class Flyout extends DeleteArea implements IFlyout { * Get the workspace inside the flyout. * * @returns The workspace inside the flyout. - * @internal */ getWorkspace(): WorkspaceSvg { return this.workspace_; diff --git a/core/workspace_svg.ts b/core/workspace_svg.ts index 551b60476..fb6a006d0 100644 --- a/core/workspace_svg.ts +++ b/core/workspace_svg.ts @@ -959,7 +959,6 @@ export class WorkspaceSvg extends Workspace implements IASTNodeLocationSvg { * * @param opt_own Whether to only return the workspace's own flyout. * @returns The flyout on this workspace. - * @internal */ getFlyout(opt_own?: boolean): IFlyout|null { if (this.flyout || opt_own) { @@ -975,7 +974,6 @@ export class WorkspaceSvg extends Workspace implements IASTNodeLocationSvg { * Getter for the toolbox associated with this workspace, if one exists. * * @returns The toolbox on this workspace. - * @internal */ getToolbox(): IToolbox|null { return this.toolbox_;