Store
Defined in: core/src/store/Store.ts:26
ONE editor: every feature’s state hangs off a field here, and the field name is how core, both adapters and a consumer’s own selector all address it.
THE NAME STAYS, and that is a decision rather than an omission. It carried
//TODO rename to Markput, Core, Engine, Editor? from before either adapter published it; all
four name the PRODUCT or the PACKAGE rather than this object’s role, MarkputHandle already
carries the product name for the thing a consumer holds, and this is useMarkput’s selector
parameter — so a rename lands in the first line of every consumer that reaches the imperative
surface, against no defect and no better name.
Properties
Section titled “Properties”clipboard
Section titled “clipboard”readonly clipboard: ClipboardController;Defined in: core/src/store/Store.ts:49
readonly edit: EditController;Defined in: core/src/store/Store.ts:34
handle
Section titled “handle”readonly handle: MarkputHandle;Defined in: core/src/store/Store.ts:51
history
Section titled “history”readonly history: HistoryModel;Defined in: core/src/store/Store.ts:36
readonly host: Host;Defined in: core/src/store/Store.ts:27
keyboard
Section titled “keyboard”readonly keyboard: KeyboardController;Defined in: core/src/store/Store.ts:47
overlay
Section titled “overlay”readonly overlay: OverlayController;Defined in: core/src/store/Store.ts:38
readonly props: PropsModel;Defined in: core/src/store/Store.ts:28
readonly rows: RowController;Defined in: core/src/store/Store.ts:42
readonly slots: SlotsFeature;Defined in: core/src/store/Store.ts:32
tokens
Section titled “tokens”readonly tokens: TokenModel;Defined in: core/src/store/Store.ts:30