Home > @polyspec/crudui-generator-core > NodeVM
NodeVM interface
One evaluated node of the recursive form grammar.
Signature:
export interface NodeVM
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Record<string, string> |
(Optional) Root declared attributes ( | ||
|
Body slot. | |||
|
(Optional) Standalone checkbox or switcher. | |||
|
NodeVM[] |
(Optional) Child nodes in the body. | ||
|
string |
Root class ( | ||
|
boolean |
(Optional) Whether a row body contains child nodes that can be collapsed. | ||
|
(Optional) Row or empty collection controls. | |||
|
boolean |
(Optional) Whether a collapsible row is expanded. | ||
|
(Optional) Header slot, present only with content. | |||
|
boolean |
Whether | ||
|
'field' | 'group' |
(Optional) Collection item kind. | ||
|
string |
(Optional) Row key (row nodes). | ||
|
Node kind. | |||
|
string |
(Optional) Language code (lang-item nodes). | ||
|
string |
(Optional) Data path relative to the form root (field, group, collection and lang nodes). | ||
|
boolean |
(Optional) Whether the row header sticks while scrolling. | ||
|
number |
(Optional) Number of enclosing sticky row headers. | ||
|
string |
(Optional) Root inline style ( | ||
|
string |
(Optional) Accessible label of the row toggle. | ||
|
(Optional) Widget of a field, scalar row or language item. |