@compass-framework/core 1.2.36 → 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 +14 -19
- 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,43 +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 getBold(): boolean;
|
|
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
|
|
25
|
+
public getEditText(): EditText;
|
|
27
26
|
|
|
28
|
-
public
|
|
27
|
+
public getBold(): boolean;
|
|
29
28
|
|
|
30
|
-
public
|
|
29
|
+
public getTextSize(): number;
|
|
31
30
|
|
|
32
|
-
public
|
|
31
|
+
public getColor(): number;
|
|
33
32
|
|
|
34
|
-
public
|
|
33
|
+
public getHorizontalAlign(): number;
|
|
35
34
|
|
|
36
|
-
public
|
|
35
|
+
public getVerticalAlign(): number;
|
|
37
36
|
|
|
38
|
-
public
|
|
37
|
+
public setTextSize(size: number): void;
|
|
39
38
|
|
|
40
39
|
public setBold(): void;
|
|
41
40
|
|
|
42
|
-
public setTextSize(size: number): void;
|
|
43
|
-
|
|
44
41
|
public setItalic(): void;
|
|
45
42
|
|
|
46
|
-
public
|
|
47
|
-
|
|
48
|
-
public setDefaultTextSize(size: number): void;
|
|
43
|
+
public setColor(color: number): void;
|
|
49
44
|
|
|
50
45
|
public setDecoration(style: number): void;
|
|
51
46
|
|
|
52
|
-
public
|
|
47
|
+
public setHorizontalAlign(horizontal: number): void;
|
|
53
48
|
|
|
54
|
-
public
|
|
49
|
+
public setVerticalAlign(vertical: number): void;
|
|
55
50
|
}
|