Function inSelect

  • Creates input control for the given select element.

    The value of this control is an array of selected option values. This is particularly useful for <select multiple> elements. Consider to use inText() for single-selects.

    Parameters

    • element: HTMLSelectElement

      Target select element.

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

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

      • Optional Readonly aspects?: Aspect<readonly string[], readonly string[]> | readonly Aspect<(readonly string[]), (readonly string[])>[]

    Returns InSelect

    New select input control instance.

Generated using TypeDoc