Component
MatButtonAddonComponent
@ng-forge/dynamic-forms-material
Renderer for the mat-button addon kind.
Renders <button mat-icon-button> when icon-only (no label), or
<button mat-button> when labeled. Click dispatch (preset / actionRef /
action precedence, multi-set warning, disabled / loading resolution)
lives on NgForgeAddonAction; this component focuses on the visual layer.
Signature
class MatButtonAddonComponentProperties
| Name | Type | Description |
|---|---|---|
action | TypedNgForgeAddonAction<MatButtonAddon> | - |
addon | Signal<MatButtonAddon> | Re-exposed for template binding — same signal stored on the directive. |
label | Signal<DynamicText | undefined> | - |
ariaLabel | Signal<DynamicText | undefined> | - |
isIconOnly | Signal<boolean> | - |
packages/dynamic-forms-material/src/lib/addons/mat-button-addon.component.ts:18