Interface
DynamicFormAddonRegistry
@ng-forge/dynamic-forms
Module-augmentable registry of addon kinds.
Each key is the kind discriminant; each value is the addon's full shape
(extending {@link BaseAddon}). Core ships text, template, and
component; adapters add their own (e.g., prime-icon, prime-button).
Signature
interface DynamicFormAddonRegistryProperties
| Name | Type | Description |
|---|---|---|
text | TextAddon | - |
template | TemplateAddon | - |
component | ComponentAddon | - |
Examples
declare module '@ng-forge/dynamic-forms' {
interface DynamicFormAddonRegistry {
'prime-icon': PrimeIconAddon;
'prime-button': PrimeButtonAddon;
}
}packages/dynamic-forms/src/lib/models/addon/addon-def.ts:47