Button
The action trigger. A button does nothing by itself: it carries an onClick event, and that event is what calls a 4D function, opens a modal or reloads a block. Label, icon, icon position and the animation shown while the action runs are all set here.
What it is
| Type | button |
| Category | form |
| Children allowed | 0 |
| Styling targets | bspk, button, icon |
| Events | onClick |
The settings
Only the settings specific to this block are listed here. The block name, HTML id, anchor, conditional display and repetition are shared by every block and described once, under Shared settings.
Help tag
| Setting | How it is set | What it does | Specifics |
Tooltip content
vt_HelpTip | text (text) | — | translatable |
Tooltip position
vt_HelpTipPosition | select (text) | — | |
Label & texts
| Setting | How it is set | What it does | Specifics |
Button label
vt_FieldLabel | text (text) | — | translatable |
Button label (4D code)
vt_FieldLabel4D | text (text) | — | accepts 4D |
Appearance
| Setting | How it is set | What it does | Specifics |
Hide Icon
vb_DisplayIcon | toggle (boolean) | — | default: no |
Hide label
vb_DisplayLabel | toggle (boolean) | — | default: no |
Outline
vb_IsOutline | toggle (boolean) | — | default: no |
Loading animation while running
vb_LoadingOnEvent | toggle (boolean) | While the event runs, the button icon is replaced by an animation and the button becomes inactive. The original icon comes back as soon as the action has answered. | default: no |
Icon to the right
vb_ReverseIcon | toggle (boolean) | — | default: no |
Icon
vt_Icon | iconSelector (text) | — | |
Loading icon
vt_LoadingIcon | iconSelector (text) | Leave empty to show the default loading animation (spinning circle). Otherwise the icon chosen here replaces the button icon while the action runs. | |
Button type
vt_Type | select (text) | — | |
The tables on this page are produced automatically from the block's schema. If this page and the panel disagree, the schema is right.