UNPKG

@babylonjs/gui

Version:

For usage documentation please visit the [GUI documentation](https://doc.babylonjs.com/features/featuresDeepDive/gui/).

18 lines (17 loc) 724 B
import { type Vector2 } from "@babylonjs/core/Maths/math.vector.js"; import { Button } from "./button.js"; import { type Control } from "./control.js"; import { type PointerInfoBase } from "@babylonjs/core/Events/pointerEvents.js"; import { type IFocusableControl } from "./focusableControl.js"; /** * Class used to create a focusable button that can easily handle keyboard events * @since 5.0.0 */ export declare class FocusableButton extends Button implements IFocusableControl { name?: string | undefined; constructor(name?: string | undefined); /** * @internal */ _onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean; }