Skip to content

five-on-it / apps/client/src/gui/layout / FieldSpec

Interface: FieldSpec ​

Defined in: apps/client/src/gui/layout.ts:127

A numeric field with its label (a keypad's code): typed into while it has the focus.

Properties ​

change ​

change: (value) => void

Defined in: apps/client/src/gui/layout.ts:135

A digit typed or erased: what it holds now.

Parameters ​

value ​

string

Returns ​

void


id ​

id: string

Defined in: apps/client/src/gui/layout.ts:129


kind ​

kind: "field"

Defined in: apps/client/src/gui/layout.ts:128


label ​

label: string

Defined in: apps/client/src/gui/layout.ts:130


maxLength ​

maxLength: number

Defined in: apps/client/src/gui/layout.ts:133


submit ​

submit: () => void

Defined in: apps/client/src/gui/layout.ts:137

Enter in it.

Returns ​

void


value ​

value: string

Defined in: apps/client/src/gui/layout.ts:132

What it holds (kept by the game, not rebuilt while typed into).