Skip to main content

Interface: EntryFieldEdit

Defined in: view/event-bus.ts:66

S5.8: what beforeEntryEdit/entryEdit carry — named EntryFieldEdit, not EntryEdit (EntryEdit is already the write shape update() takes, plans/02 §1 "one write shape", one name one concept). beforeEntryEdit fires before the editor opens, not before the write, so no candidate value exists yet at that point — from and to are both the entry's current stored value for that field. A toggle column knows its candidate value, so its beforeEntryEdit carries the value it would write in to. entryEdit fires after the commit, with to the value actually written.

Properties​

entry​

readonly entry: Entry

Defined in: view/event-bus.ts:67


field​

readonly field: FieldKey

Defined in: view/event-bus.ts:68


from​

readonly from: unknown

Defined in: view/event-bus.ts:69


to​

readonly to: unknown

Defined in: view/event-bus.ts:70