Roqueform
    Preparing search index...

    Interface ElementsValueAccessor

    Abstraction over value getter and setter for a group of DOM elements.

    interface ElementsValueAccessor {
        get(elements: readonly Element[]): any;
        set(elements: readonly Element[], value: any): void;
    }
    Index

    Methods

    Methods

    • Retrieves value from elements that produce value for the field.

      Parameters

      • elements: readonly Element[]

        The array of referenced elements, never empty.

      Returns any

      The value that elements represent.

    • Sets value to elements controlled by the field.

      Parameters

      • elements: readonly Element[]

        The array of referenced elements, never empty.

      • value: any

        The value to assign to elements.

      Returns void