Function inValue

  • Constructs simple input control.

    This control does not handle actual user input. Instead, it maintains the value set programmatically.

    Type Parameters

    • TValue

      Input value type.

    Parameters

    • initial: TValue

      Initial input value.

    • aspects: {
          aspects?: Aspect<TValue, TValue> | readonly Aspect<TValue, TValue>[];
      } = {}

      Input aspects applied by default. These are aspect converters to constructed control from the same-valued one.

      • Optional Readonly aspects?: Aspect<TValue, TValue> | readonly Aspect<TValue, TValue>[]

    Returns InControl<TValue>

    New input control.

Generated using TypeDoc