mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
chore!: Fix warnings when generating docs. (#8660)
This commit is contained in:
@@ -63,7 +63,7 @@ export interface IMetricsManager {
|
||||
* Gets the width, height and position of the toolbox on the workspace in
|
||||
* pixel coordinates. Returns 0 for the width and height if the workspace has
|
||||
* a simple toolbox instead of a category toolbox. To get the width and height
|
||||
* of a simple toolbox, see {@link IMetricsManager#getFlyoutMetrics}.
|
||||
* of a simple toolbox, see {@link IMetricsManager.getFlyoutMetrics}.
|
||||
*
|
||||
* @returns The object with the width, height and position of the toolbox.
|
||||
*/
|
||||
|
||||
@@ -4,18 +4,15 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** @internal */
|
||||
export interface IRenderedElement {
|
||||
/**
|
||||
* @returns The root SVG element of htis rendered element.
|
||||
* @returns The root SVG element of this rendered element.
|
||||
*/
|
||||
getSvgRoot(): SVGElement;
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns True if the given object is an IRenderedElement.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
export function isRenderedElement(obj: any): obj is IRenderedElement {
|
||||
return obj['getSvgRoot'] !== undefined;
|
||||
|
||||
Reference in New Issue
Block a user