UNPKG

ace-editor-ng9

Version:

A fork from ng2-ace-editor updated to work with Angular 9

37 lines (36 loc) 1.08 kB
import { EventEmitter, ElementRef, OnInit, OnDestroy, NgZone } from "@angular/core"; import "brace"; import "brace/theme/monokai"; export declare class AceEditorDirective implements OnInit, OnDestroy { private zone; textChanged: EventEmitter<any>; textChange: EventEmitter<any>; _options: any; _readOnly: boolean; _theme: string; _mode: any; _autoUpdateContent: boolean; _durationBeforeCallback: number; _text: string; editor: any; oldText: any; timeoutSaving: any; constructor(elementRef: ElementRef, zone: NgZone); ngOnInit(): void; ngOnDestroy(): void; init(): void; initEvents(): void; updateText(): void; set options(options: any); set readOnly(readOnly: any); set theme(theme: any); set mode(mode: any); setMode(mode: any): void; get text(): string; set text(text: string); setText(text: any): void; set autoUpdateContent(status: any); set durationBeforeCallback(num: number); setDurationBeforeCallback(num: number): void; get aceEditor(): any; }