Formwright
    Preparing search index...

    Interface ControlSignature<V, Extra, E>

    The contract between a Field and the control it renders: the wiring every control gets, plus the args of its own (Extra). A field takes the control's extra args as its own, and only accepts a control whose value its path can hold. Any component with this signature can be passed to @control, or registered by name with registerControl.

    interface ControlSignature<
        V = unknown,
        Extra extends object = object,
        E extends Element = HTMLElement,
    > {
        Args: ControlWiring<V> & Extra;
        Element: E;
    }

    Type Parameters

    • V = unknown
    • Extra extends object = object
    • E extends Element = HTMLElement
    Index
    Element: E