ngx-dynamic-hooks
Version:
Automatically insert live Angular components into a dynamic string of content (based on their selector or any pattern of your choice) and render the result in the DOM.
14 lines (13 loc) • 784 B
TypeScript
import { Type, Provider } from '@angular/core';
import { DynamicHooksSettings } from './services/settings/settings';
import { PlatformService } from './services/platform/platformService';
import { HookParserEntry } from './services/settings/parserEntry';
export declare const allSettings: DynamicHooksSettings[];
/**
* Sets up global parsers and options for the ngx-dynamic-hooks library
*
* @param settings - Parsers/options to be are shared in this injection context
* @param platformService - (optional) If desired, you can specify a custom PlatformService to use here
*/
export declare const provideDynamicHooks: (settings?: DynamicHooksSettings | HookParserEntry[], platformService?: Type<PlatformService>) => Provider[];
export declare const resetDynamicHooks: () => void;