UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

28 lines (27 loc) 853 B
import { BBox } from '../scene/bbox'; import { Path } from '../scene/shape/path'; import type { FocusSwapChain } from './focusSwapChain'; export declare class FocusIndicator { private readonly swapChain; private readonly element; private readonly svg; private readonly outerPath; private readonly innerPath; private readonly div; constructor(swapChain: FocusSwapChain); clear(): void; update(focus: BBox | Path, rect: BBox | undefined, clip: boolean): void; private onSwap; private show; private focusVisible?; private focusVisibleStyle; private hasFocus; focus(opts: { preventScroll?: boolean; focusVisible?: boolean; }): void; overrideFocusVisible(focusVisible: boolean | undefined): void; isFocusVisible(): boolean; onFocus(): boolean; onBlur(): void; }