CRUDUI

Home > @polyspec/crudui-validator > DesignSlot

DesignSlot interface

Appearance slot = visibility condition (show) + per-DOM-node appearance map (R8). class/style target the main (input) node; label/wrapper/group/ prepend target their respective nodes — which node a style targets is visible in the key.

Signature:

export interface DesignSlot 

Properties

Property

Modifiers

Type

Description

class?

Evaluated<string>

(Optional) Main (input) node class (evaluated → string).

group?

DesignNode

(Optional) Body appearance of a group or group row, and of the choices of a choice or multichoice field.

label?

DesignNode

(Optional) Label node appearance.

prepend?

DesignNode

(Optional) Prepend node appearance.

show?

Evaluated<boolean>

(Optional) Visibility condition (evaluated → boolean).

style?

Evaluated<string>

(Optional) Main (input) node inline style (evaluated → string).

wrapper?

DesignNode

(Optional) Wrapper node appearance.