UNPKG

ngx-quill

Version:

An angular (>= v2) component for the easy use of the QuillJS richt text editor.

25 lines (24 loc) 974 B
import { QuillConfig, QuillModules } from './quill-editor.interfaces'; import { AfterViewInit, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core'; import { CustomOption } from './quill-editor.component'; export declare class QuillViewComponent implements AfterViewInit, OnChanges { private platformId; private config; private renderer; private elementRef; quillEditor: any; editorElem: HTMLElement | undefined; format?: 'object' | 'html' | 'text' | 'json'; theme?: string; modules?: QuillModules; debug?: 'warn' | 'log' | 'error' | false; formats?: string[] | null; strict: boolean; content: any; customOptions: CustomOption[]; preserveWhitespace: boolean; constructor(platformId: Object, config: QuillConfig, renderer: Renderer2, elementRef: ElementRef); valueSetter: (quillEditor: any, value: any) => any; ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; }