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 DynamicFormAddonRegistry

Properties

NameTypeDescription
text TextAddon-
template TemplateAddon-
component ComponentAddon-

Examples

declare module '@ng-forge/dynamic-forms' {
  interface DynamicFormAddonRegistry {
    'prime-icon': PrimeIconAddon;
    'prime-button': PrimeButtonAddon;
  }
}