UNPKG

ng-cw-v12

Version:

Angular UI component library

23 lines (22 loc) 1.08 kB
import { EventEmitter, AfterViewInit } from '@angular/core'; import { IDomEditor, IEditorConfig, IToolbarConfig, Toolbar } from '@wangeditor/editor'; import * as i0 from "@angular/core"; export declare class EditorComponent implements AfterViewInit { ncEditorMode: 'default' | 'simple'; ncToolbarMode: 'default' | 'simple'; ncEditorConfig: Partial<IEditorConfig>; ncToolbarConfig: Partial<IToolbarConfig>; ncHtml: string; ncDomId: string; ncLoaded: EventEmitter<{ editor: IDomEditor; toolbar: Toolbar; }>; editor: IDomEditor; toolbar: Toolbar; constructor(); ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "nc-editor", never, { "ncEditorMode": "ncEditorMode"; "ncToolbarMode": "ncToolbarMode"; "ncEditorConfig": "ncEditorConfig"; "ncToolbarConfig": "ncToolbarConfig"; "ncHtml": "ncHtml"; "ncDomId": "ncDomId"; }, { "ncLoaded": "ncLoaded"; }, never, never>; }