Class Field<T>

Represents an input control inside an Action. Serialization of a Field depends on its type and its corresponding Action's type.

Type Parameters

  • T = unknown

    Type of the value property.

Hierarchy

  • Field

Implements

Indexable

[extension: string]: unknown

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • T = unknown

    Returns Field<T>

Properties

class: string[] = []

List of strings describing the nature of the Field based on the current representation. Possible values are implementation-dependent and should be documented.

name: string

Name describing the control. Must be unique within an Action.

title?: string

Textual annotation of a field. Clients may use this as a label.

type: string = 'text'

Input type of the field. May include any of the input types from HTML. When missing, the default is assumed to be text.

value?: T

Value assigned to the Field.

Methods

Generated using TypeDoc