interface FormHandle {
    el: HTMLElement;
    focusFirst(): boolean;
    sync(values: Readonly<Record<string, unknown>>): void;
    values(): Record<string, unknown>;
}

Properties

Methods

Properties

el: HTMLElement

Methods

  • Re-read values into every control the user is not currently in.

    Parameters

    • values: Readonly<Record<string, unknown>>

    Returns void

  • Every control's current value, keyed the way onChange reports it.

    Returns Record<string, unknown>