ngx-contentful-rich-text
Version:
Angular renderer for the Contentful rich text field type
13 lines (12 loc) • 632 B
TypeScript
import { OnInit, ViewContainerRef } from '@angular/core';
import { Block, Inline } from '@contentful/rich-text-types';
import { ComponentRendererService } from '../services/component-renderer.service';
import { RendererProviderService } from '../services/renderer-provider.service';
export declare class NodeRendererHostDirective implements OnInit {
private viewContainerRef;
private componentRenderer;
private rendererProvider;
node: Block | Inline;
constructor(viewContainerRef: ViewContainerRef, componentRenderer: ComponentRendererService, rendererProvider: RendererProviderService);
ngOnInit(): void;
}