Skip to content

Documentation / @finchart/core / index / FocusClaim

Interface: FocusClaim ​

Defined in: packages/core/src/interaction/types.ts:73

What a keyboard contestant holds after registering with the chart (FocusAreaHost.claimFocusArea).

Methods ​

contestedAt() ​

contestedAt(point): boolean

Defined in: packages/core/src/interaction/types.ts:81

Whether this point is claimed by some other contestant, not this one. A spot nobody contests (an axis, margin, or a pane with no toolbox) is false. Never throws here even if someone else's areaOf throws or returns garbage — that extension is simply treated as not contesting.

Parameters ​

point ​

Point

Returns ​

boolean


release() ​

release(): void

Defined in: packages/core/src/interaction/types.ts:83

Safe to call twice.

Returns ​

void