Readonly
entriesThe key entries.
To add/remove entries you should addKey/removeKey or setKeysProp with the synthetic entries@add/remove
properties.
The synthetic properties can be hooked into with Manager.hooks.
The layout size in pixels. Useful for rendering the layout.
calculateLayout can be used to calculate it. This is semi-automated if Keys.autoManageLayout is true. See it for details.
Readonly
nativeIs used to keep track of native modifier keys.
Readonly
nativeIs used to keep track of native toggle keys.
Readonly
togglesIs used to keep track of key toggles: Record<toggleOn/OffId, Key.id>
.
Readonly
variantsIs used to keep track of key variants in a record: Record<VariantName, Key.id[]>
.
If this is true, calculateLayout will be used to recalculate the size of the keyboard in key units when any related key properties are changed, or when keys are added or removed.