Skip to content

charton API


charton API / @chart-on/core / index / ActionState

Interface: ActionState ​

Defined in: packages/core/src/actions.ts:50

An action as the registry reports it.

Properties ​

checked ​

checked: boolean | null

Defined in: packages/core/src/actions.ts:55

On or off for toggles; null for plain commands.


defaultKeys ​

defaultKeys: string[]

Defined in: packages/core/src/actions.ts:59

The shortcuts it was registered with.


enabled ​

enabled: boolean

Defined in: packages/core/src/actions.ts:53


id ​

id: string

Defined in: packages/core/src/actions.ts:51


keys ​

keys: string[]

Defined in: packages/core/src/actions.ts:57

The shortcuts in effect, in canonical form ('Ctrl+Shift+Z').


label ​

label: string

Defined in: packages/core/src/actions.ts:52