Type parameters
Hierarchy
-
EditorStatePort↳OperationEditor
Methods
read
▸ read():Input
The current input. Bijection reads it directly before an attempt and
before capture, so a delayed change notification cannot be missed.
Returns
Input
subscribe
▸ subscribe(listener): () => void
Notify after edits, including programmatic ones.
Parameters
Returns
fn
▸ (): void
Returns
void
load
▸ load(state): void
Establish both the baseline and the current input, and clear the
previous interaction’s errors, touched state and submission history.
Called for every recovered draft, reset and new draft, even when the
values are equal. Notifications it causes synchronously are ignored.
Parameters
Returns
void