interface Attribute {
    alias?: string;
    choices?: string[];
    format?: string;
    geomType?: string;
    mask?: string;
    maxLength?: number;
    name?: string;
    numType?: string;
    readonly?: boolean;
    required?: boolean;
    type?: string;
}

Properties

alias?: string

The attribute alias

choices?: string[]

The list of possible values for the attribute.

format?: string

The format used in the date, time and datetime type.

geomType?: string

(AttributeBase)

mask?: string

The mask used in the date, time and datetime type.

maxLength?: number

Specifies the maximum number of character for the attribute value.

name?: string

The attribute name.

numType?: string

(AttributeBase)

readonly?: boolean

Whether the attribute's value should be prevented from being edited or not. Defaults to false.

required?: boolean

Whether the attribute is required to have a value set or not. Defaults to false.

type?: string

(AttributeBase)