UNPKG

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.

29 lines (28 loc) 949 B
import { InjectionToken } from '@angular/core'; import { DynamicHooksSettings } from './services/settings/settings'; /** * Custom injector tokens that are used for varous internal communication purposes */ export declare const DYNAMICHOOKS_ALLSETTINGS: InjectionToken<DynamicHooksSettings[]>; export declare const DYNAMICHOOKS_ANCESTORSETTINGS: InjectionToken<DynamicHooksSettings[]>; export declare const DYNAMICHOOKS_MODULESETTINGS: InjectionToken<DynamicHooksSettings>; export interface SavedBindings { inputs?: { [key: string]: RichBindingData; }; outputs?: { [key: string]: RichBindingData; }; } /** * A detailed information object for a single binding, containing the raw unparsed binding, * its parsed value and all used context variables, if any */ export interface RichBindingData { raw: string; parsed: boolean; value: any; boundContextVariables: { [key: string]: any; }; }