Function inRadioGroup

  • Creates a radio group for the given radio buttons.

    The created control has undefined value when none of the radio buttons is checked.

    Type Parameters

    • TValue extends string

      Input value type.

    Parameters

    • buttons: Buttons<TValue>

      Radio buttons map.

    Returns InRadioGroup<TValue | undefined>

    New radio group control instance.

  • Creates a radio group for the given radio buttons with default aspects.

    The created control has undefined value when none of the radio buttons is checked.

    Type Parameters

    • TValue extends string

      Input value type.

    Parameters

    • buttons: Buttons<TValue>

      Radio buttons map.

    • 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 InRadioGroup<TValue | undefined>

    New radio group control instance.

  • Creates a radio group for the given radio buttons with custom control values.

    Type Parameters

    • TValue extends undefined | string

      Input value type.

    Parameters

    Returns InRadioGroup<TValue>

    New radio group control instance.

Generated using TypeDoc