Skip to content

@jsvision/ui / AcceleratorScope

Interface: AcceleratorScope

Defined in: i18n/dist/types.d.ts:117

A named group of labels that can appear together and must have unique accelerators.

Properties

keys

readonly keys: readonly string[]

Defined in: i18n/dist/types.d.ts:121

Message keys whose labels coexist in this scope.


name

readonly name: string

Defined in: i18n/dist/types.d.ts:119

Stable developer-facing scope identifier.


requiredKeys?

readonly optional requiredKeys?: readonly string[]

Defined in: i18n/dist/types.d.ts:128

Labels that must contain one accelerator marker.

Omit this property to require every key. Supply a subset when a translated label is intentionally reachable without a keyboard accelerator.