ngx-markdown-it
Version:
An Angular library that renders markdown using [markdown-it](https://github.com/markdown-it/markdown-it).
16 lines (15 loc) • 850 B
TypeScript
import { AfterViewInit, EventEmitter, ElementRef } from '@angular/core';
import { NgxMarkdownItService } from "./ngx-markdown-it.service";
import * as i0 from "@angular/core";
export declare class NgxMarkdownItComponent implements AfterViewInit {
element: ElementRef<HTMLElement>;
private markdownService;
_markdown: string | undefined;
ready: EventEmitter<void>;
set markdown(val: string);
constructor(element: ElementRef<HTMLElement>, markdownService: NgxMarkdownItService);
ngAfterViewInit(): void;
render(markdown: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxMarkdownItComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxMarkdownItComponent, "markdown-it", never, { "markdown": { "alias": "markdown"; "required": false; }; }, { "ready": "ready"; }, never, ["*"], false, never>;
}