Home > @polyspec/crudui-generator-core > WidgetCtx
WidgetCtx interface
Inputs every widget evaluator needs for one leaf field.
Signature:
export interface WidgetCtx
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(Optional) Declared attributes of the control ( | |||
|
Resolved design appearance for this field. | |||
|
string |
(Optional) Stable DOM identifier prefix. | ||
|
string |
(Optional) Optional name/id prefix. | ||
|
(Optional) Interface messages of the form language, for the controls a widget writes itself. | |||
|
string |
Dot path within the form. | ||
|
readonly number[] |
(Optional) Positions of repeated rows in the path, derived from form structure. | ||
|
Record<string, unknown> |
The composed (single-spec) field node. | ||
|
Content translator (active language). | |||
|
unknown |
The field's current value. |