mirror of
https://github.com/google/blockly.git
synced 2026-01-06 08:30:13 +01:00
20 lines
420 B
TypeScript
20 lines
420 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import type {IFocusableNode} from './i_focusable_node.js';
|
|
|
|
/**
|
|
* Represents a UI element which can be navigated to using the keyboard.
|
|
*/
|
|
export interface INavigable<T> extends IFocusableNode {
|
|
/**
|
|
* Returns the class of this instance.
|
|
*
|
|
* @returns This object's class.
|
|
*/
|
|
getClass(): new (...args: any) => T;
|
|
}
|