Skip to content

registerFeature

Register a feature’s plugin factory. Called by side-effect feature imports (e.g., import '@toolbox-web/grid/features/selection').

registerFeature(name: K, factory: PluginFactory<unknown>): void
NameTypeDescription
nameKThe feature name (matches a key on FeatureConfig)
factoryPluginFactory<unknown>Function that creates a plugin instance from config
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt