-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtext-editor.component.d.ts
52 lines (52 loc) · 1.52 KB
/
text-editor.component.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import { AfterViewInit, ElementRef, NgZone } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
export declare class TdTextEditorComponent implements AfterViewInit, ControlValueAccessor {
private _zone;
private _value;
private _easyMDE;
private _fromEditor;
textarea: ElementRef;
options: any;
constructor(_zone: NgZone);
propagateChange: (_: any) => void;
onTouched: () => any;
/**
* value?: string
* Value in the Editor after async getEditorContent was called
*/
set value(value: string);
get value(): string;
get easyMDE(): any;
/**
* Implemented as part of ControlValueAccessor.
*/
writeValue(value: any): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
ngAfterViewInit(): void;
isPreviewActive(): boolean;
isSideBySideActive(): boolean;
isFullscreenActive(): boolean;
clearAutosavedValue(): void;
toTextArea(): void;
toggleBold(): void;
toggleItalic(): void;
toggleStrikethrough(): void;
toggleHeadingSmaller(): void;
toggleHeadingBigger(): void;
toggleHeading1(): void;
toggleHeading2(): void;
toggleHeading3(): void;
toggleCodeBlock(): void;
toggleBlockquote(): void;
toggleUnorderedList(): void;
toggleOrderedList(): void;
cleanBlock(): void;
drawLink(): void;
drawImage(): void;
drawTable(): void;
drawHorizontalRule(): void;
togglePreview(): void;
toggleSideBySide(): void;
toggleFullScreen(): void;
}