@compass-framework/core 1.2.35 → 1.2.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/RichTextEditor.d.ts +15 -18
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FrameLayout } from "./FrameLayout";
|
|
2
|
+
import { EditText } from "./EditText";
|
|
2
3
|
|
|
3
4
|
export class RichTextEditor extends FrameLayout {
|
|
4
5
|
public static TEXT_DECORATION_UNDERLINE: number;
|
|
@@ -13,41 +14,37 @@ export class RichTextEditor extends FrameLayout {
|
|
|
13
14
|
public static TEXT_HORIZONTAL_LEFT : number;
|
|
14
15
|
public static TEXT_HORIZONTAL_RIGHT: number;
|
|
15
16
|
|
|
16
|
-
public
|
|
17
|
-
|
|
18
|
-
public getTextSize(): number;
|
|
17
|
+
public clearItalic(): void;
|
|
19
18
|
|
|
20
|
-
public
|
|
19
|
+
public clearBold(): void;
|
|
21
20
|
|
|
22
|
-
public
|
|
21
|
+
public clearDecoration(style: number): void;
|
|
23
22
|
|
|
24
23
|
public getItalic(): boolean;
|
|
25
24
|
|
|
26
|
-
public
|
|
27
|
-
|
|
28
|
-
public getAlignmentVertical(): number;
|
|
25
|
+
public getEditText(): EditText;
|
|
29
26
|
|
|
30
|
-
public
|
|
27
|
+
public getBold(): boolean;
|
|
31
28
|
|
|
32
|
-
public
|
|
29
|
+
public getTextSize(): number;
|
|
33
30
|
|
|
34
|
-
public
|
|
31
|
+
public getColor(): number;
|
|
35
32
|
|
|
36
|
-
public
|
|
33
|
+
public getHorizontalAlign(): number;
|
|
37
34
|
|
|
38
|
-
public
|
|
35
|
+
public getVerticalAlign(): number;
|
|
39
36
|
|
|
40
37
|
public setTextSize(size: number): void;
|
|
41
38
|
|
|
42
|
-
public
|
|
39
|
+
public setBold(): void;
|
|
43
40
|
|
|
44
|
-
public
|
|
41
|
+
public setItalic(): void;
|
|
45
42
|
|
|
46
|
-
public
|
|
43
|
+
public setColor(color: number): void;
|
|
47
44
|
|
|
48
45
|
public setDecoration(style: number): void;
|
|
49
46
|
|
|
50
|
-
public
|
|
47
|
+
public setHorizontalAlign(horizontal: number): void;
|
|
51
48
|
|
|
52
|
-
public
|
|
49
|
+
public setVerticalAlign(vertical: number): void;
|
|
53
50
|
}
|