Options
All
  • Public
  • Public/Protected
  • All
Menu

A converter for converting string values to the correct data type.

Type Parameters

  • T = unknown

Hierarchy

  • Converter

Index

Methods

Methods

  • convert(element: JQuery<HTMLElement>, submittedValue: undefined | null | string): T
  • Converts a string value to the correct data type.

    Parameters

    • element: JQuery<HTMLElement>

      Element for which the value was submitted.

    • submittedValue: undefined | null | string

      The submitted string value

    Returns T

    The converted value.

Generated using TypeDoc