Class: Field

LiveView. Field

new LiveView.Field(name, description, type, schema)

Defines the properties of a LiveView Field.
Name Type Description
name String The field name. This is used as the unique identifier for this field.
description String A description of the field.
type String The type of the field (e.g "string", "int", etc).
schema LiveView.Schema optional The schema of this field if its type is "tuple".

Members

nameString

The field name. This is used as the unique identifier for this field.

descriptionString

A full length description of the field.

typeString

The type of the field (e.g "string", "int", etc).
The schema of this field if its type is "tuple".