@compass-framework/core 1.2.38 → 1.2.40
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/EditText.d.ts +2 -0
- package/@types/RichTextEditor.d.ts +44 -19
- package/package.json +1 -1
package/@types/EditText.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { FrameLayout } from "./FrameLayout";
|
|
2
|
-
import {
|
|
2
|
+
import { Context } from "./Context";
|
|
3
|
+
import { AttributeSet } from "./AttributeSet";
|
|
4
|
+
import { View } from "./View";
|
|
3
5
|
|
|
4
|
-
export class
|
|
6
|
+
export class EditRichText extends FrameLayout {
|
|
5
7
|
public static TEXT_DECORATION_UNDERLINE: number;
|
|
6
8
|
public static TEXT_DECORATION_DOUBLE: number;
|
|
7
9
|
public static TEXT_DECORATION_THROUGH: number;
|
|
@@ -14,37 +16,60 @@ export class RichTextEditor extends FrameLayout {
|
|
|
14
16
|
public static TEXT_HORIZONTAL_LEFT : number;
|
|
15
17
|
public static TEXT_HORIZONTAL_RIGHT: number;
|
|
16
18
|
|
|
17
|
-
public
|
|
19
|
+
public constructor(context: Context);
|
|
20
|
+
public constructor(context: Context, attrs: AttributeSet);
|
|
18
21
|
|
|
19
|
-
public
|
|
22
|
+
public formHTML(html: string): void;
|
|
20
23
|
|
|
21
|
-
public
|
|
24
|
+
public toHTML(): string;
|
|
22
25
|
|
|
23
|
-
public
|
|
26
|
+
public clearSelectionDecoration(style: number): void;
|
|
24
27
|
|
|
25
|
-
public
|
|
28
|
+
public clearSelectionBold(): void;
|
|
26
29
|
|
|
27
|
-
public
|
|
30
|
+
public clearSelectionItalic(): void;
|
|
28
31
|
|
|
29
|
-
public
|
|
32
|
+
public clearSelectionColor(): void;
|
|
30
33
|
|
|
31
|
-
public
|
|
34
|
+
public applySelectionColor(color: number): void;
|
|
32
35
|
|
|
33
|
-
public
|
|
36
|
+
public applySelectionItalic(): void;
|
|
34
37
|
|
|
35
|
-
public
|
|
38
|
+
public applySelectionBold(): void;
|
|
39
|
+
|
|
40
|
+
public applySelectionDecoration(style: number): void;
|
|
41
|
+
|
|
42
|
+
public toggleSelectionItalic(): void;
|
|
43
|
+
|
|
44
|
+
public toggleSelectionBold(): void;
|
|
45
|
+
|
|
46
|
+
public toggleSelectionDecoration(style: number): void;
|
|
47
|
+
|
|
48
|
+
public selectionContainsBold(): boolean;
|
|
49
|
+
|
|
50
|
+
public selectionContainsItalic(): boolean;
|
|
36
51
|
|
|
37
|
-
public
|
|
52
|
+
public selectionContainsDecoration(style: number): boolean;
|
|
38
53
|
|
|
39
|
-
public
|
|
54
|
+
public getMinimumHeight(): number;
|
|
55
|
+
|
|
56
|
+
public getMinimumWidth(): number;
|
|
57
|
+
|
|
58
|
+
public getDefaultTextSize(): number;
|
|
59
|
+
|
|
60
|
+
public getSelectionColor(): number;
|
|
61
|
+
|
|
62
|
+
public getVerticalAlign(): number;
|
|
63
|
+
|
|
64
|
+
public getHorizontalAlign(): number;
|
|
40
65
|
|
|
41
|
-
public
|
|
66
|
+
public setOnFocusChangeListener(l: View.OnFocusChangeListener): void;
|
|
42
67
|
|
|
43
|
-
public
|
|
68
|
+
public setDefaultTextSize(textSize: number): void;
|
|
44
69
|
|
|
45
|
-
public
|
|
70
|
+
public setOutsideTouchable(touchable: boolean): void;
|
|
46
71
|
|
|
47
|
-
public
|
|
72
|
+
public setMinimumWidth(width: number): void;
|
|
48
73
|
|
|
49
|
-
public
|
|
74
|
+
public setMinimumHeight(height: number): void;
|
|
50
75
|
}
|