new Field(name, description, type, schemaopt)
Defines the properties of a LiveView Field.
Parameters:
Name | Type | Attributes | 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
description :String
A full length description of the field.
Type:
- String
name :String
The field name. This is used as the unique identifier for this field.
Type:
- String
schema :LiveView.Schema
The schema of this field if its type is "tuple".
Type:
type :String
The type of the field (e.g "string", "int", etc).
Type:
- String