Interface 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

Hierarchy

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

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.

Generated using TypeDoc