Class InBuilder<TControl, TValue>

User input control builder.

Type Parameters

  • TControl extends InControl<TValue>

    Control type.

  • TValue = ValueType<TControl>

    Input value type.

Hierarchy

  • InBuilder

Constructors

Methods

Constructors

  • Type Parameters

    Returns InBuilder<TControl, TValue>

Methods

  • Builds control.

    Parameters

    Returns TControl

    New user input control constructed by the given factory and set up with configured aspects and setup procedures.

  • Registers additional setup of the built control.

    The setup is performed when the control built.

    Parameters

    • setup: ((this, control) => void)

      A function that accepts a built control as its only parameter.

        • (this, control): void
        • Parameters

          • this: void
          • control: TControl

          Returns void

    Returns InBuilder<TControl, TValue>

    this builder instance.

  • Registers additional setup of the built control's aspect.

    The setup is performed when the control built.

    Type Parameters

    • TInstance

      Aspect instance type.

    • TKind extends keyof InAspect.Application.Map<unknown, unknown>

      Aspect application kind.

    Parameters

    • aspectKey: Key<TInstance, TKind>

      A key of aspect to set up.

    • setup: ((this, aspect, control) => void)

      A function that accepts an applied aspect instance and a built control as parameters.

        • (this, aspect, control): void
        • Parameters

          Returns void

    Returns InBuilder<TControl, TValue>

    this builder instance.

Generated using TypeDoc