uicore-ts 1.0.1
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/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/uicore.iml +9 -0
- package/.idea/vcs.xml +6 -0
- package/LICENSE +21 -0
- package/README.md +5 -0
- package/compiledScripts/UIActionIndicator.d.ts +12 -0
- package/compiledScripts/UIActionIndicator.js +54 -0
- package/compiledScripts/UIActionIndicator.js.map +1 -0
- package/compiledScripts/UIBaseButton.d.ts +52 -0
- package/compiledScripts/UIBaseButton.js +268 -0
- package/compiledScripts/UIBaseButton.js.map +1 -0
- package/compiledScripts/UIButton.d.ts +54 -0
- package/compiledScripts/UIButton.js +247 -0
- package/compiledScripts/UIButton.js.map +1 -0
- package/compiledScripts/UIColor.d.ts +41 -0
- package/compiledScripts/UIColor.js +286 -0
- package/compiledScripts/UIColor.js.map +1 -0
- package/compiledScripts/UICore.d.ts +27 -0
- package/compiledScripts/UICore.js +105 -0
- package/compiledScripts/UICore.js.map +1 -0
- package/compiledScripts/UICoreExtensions.d.ts +60 -0
- package/compiledScripts/UICoreExtensions.js +527 -0
- package/compiledScripts/UICoreExtensions.js.map +1 -0
- package/compiledScripts/UIDateTimeInput.d.ts +40 -0
- package/compiledScripts/UIDateTimeInput.js +38 -0
- package/compiledScripts/UIDateTimeInput.js.map +1 -0
- package/compiledScripts/UIDialogView.d.ts +23 -0
- package/compiledScripts/UIDialogView.js +118 -0
- package/compiledScripts/UIDialogView.js.map +1 -0
- package/compiledScripts/UIImageView.d.ts +36 -0
- package/compiledScripts/UIImageView.js +170 -0
- package/compiledScripts/UIImageView.js.map +1 -0
- package/compiledScripts/UIKeyValueStringFilter.d.ts +21 -0
- package/compiledScripts/UIKeyValueStringFilter.js +98 -0
- package/compiledScripts/UIKeyValueStringFilter.js.map +1 -0
- package/compiledScripts/UIKeyValueStringSorter.d.ts +38 -0
- package/compiledScripts/UIKeyValueStringSorter.js +117 -0
- package/compiledScripts/UIKeyValueStringSorter.js.map +1 -0
- package/compiledScripts/UILayoutGrid.d.ts +8 -0
- package/compiledScripts/UILayoutGrid.js +22 -0
- package/compiledScripts/UILayoutGrid.js.map +1 -0
- package/compiledScripts/UILink.d.ts +25 -0
- package/compiledScripts/UILink.js +81 -0
- package/compiledScripts/UILink.js.map +1 -0
- package/compiledScripts/UILinkButton.d.ts +18 -0
- package/compiledScripts/UILinkButton.js +60 -0
- package/compiledScripts/UILinkButton.js.map +1 -0
- package/compiledScripts/UINativeScrollView.d.ts +20 -0
- package/compiledScripts/UINativeScrollView.js +121 -0
- package/compiledScripts/UINativeScrollView.js.map +1 -0
- package/compiledScripts/UIObject.d.ts +69 -0
- package/compiledScripts/UIObject.js +442 -0
- package/compiledScripts/UIObject.js.map +1 -0
- package/compiledScripts/UIPoint.d.ts +18 -0
- package/compiledScripts/UIPoint.js +68 -0
- package/compiledScripts/UIPoint.js.map +1 -0
- package/compiledScripts/UIRectangle.d.ts +61 -0
- package/compiledScripts/UIRectangle.js +421 -0
- package/compiledScripts/UIRectangle.js.map +1 -0
- package/compiledScripts/UIRoute.d.ts +39 -0
- package/compiledScripts/UIRoute.js +202 -0
- package/compiledScripts/UIRoute.js.map +1 -0
- package/compiledScripts/UIScrollView.d.ts +19 -0
- package/compiledScripts/UIScrollView.js +121 -0
- package/compiledScripts/UIScrollView.js.map +1 -0
- package/compiledScripts/UISlideScrollerView.d.ts +40 -0
- package/compiledScripts/UISlideScrollerView.js +242 -0
- package/compiledScripts/UISlideScrollerView.js.map +1 -0
- package/compiledScripts/UIStringFilter.d.ts +26 -0
- package/compiledScripts/UIStringFilter.js +107 -0
- package/compiledScripts/UIStringFilter.js.map +1 -0
- package/compiledScripts/UITableView.d.ts +61 -0
- package/compiledScripts/UITableView.js +383 -0
- package/compiledScripts/UITableView.js.map +1 -0
- package/compiledScripts/UITextArea.d.ts +7 -0
- package/compiledScripts/UITextArea.js +27 -0
- package/compiledScripts/UITextArea.js.map +1 -0
- package/compiledScripts/UITextField.d.ts +44 -0
- package/compiledScripts/UITextField.js +83 -0
- package/compiledScripts/UITextField.js.map +1 -0
- package/compiledScripts/UITextView.d.ts +89 -0
- package/compiledScripts/UITextView.js +237 -0
- package/compiledScripts/UITextView.js.map +1 -0
- package/compiledScripts/UITimer.d.ts +13 -0
- package/compiledScripts/UITimer.js +45 -0
- package/compiledScripts/UITimer.js.map +1 -0
- package/compiledScripts/UIView.d.ts +330 -0
- package/compiledScripts/UIView.js +1533 -0
- package/compiledScripts/UIView.js.map +1 -0
- package/compiledScripts/UIViewController.d.ts +38 -0
- package/compiledScripts/UIViewController.js +153 -0
- package/compiledScripts/UIViewController.js.map +1 -0
- package/compiledScripts/index.d.ts +29 -0
- package/compiledScripts/index.js +46 -0
- package/compiledScripts/index.js.map +1 -0
- package/package.json +36 -0
- package/scripts/UIActionIndicator.ts +139 -0
- package/scripts/UIBaseButton.ts +563 -0
- package/scripts/UIButton.ts +552 -0
- package/scripts/UIColor.ts +427 -0
- package/scripts/UICore.ts +223 -0
- package/scripts/UICoreExtensions.ts +949 -0
- package/scripts/UIDateTimeInput.ts +109 -0
- package/scripts/UIDialogView.ts +297 -0
- package/scripts/UIImageView.ts +366 -0
- package/scripts/UIKeyValueStringFilter.ts +260 -0
- package/scripts/UIKeyValueStringSorter.ts +337 -0
- package/scripts/UILayoutGrid.ts +83 -0
- package/scripts/UILink.ts +292 -0
- package/scripts/UILinkButton.ts +238 -0
- package/scripts/UINativeScrollView.ts +254 -0
- package/scripts/UIObject.ts +827 -0
- package/scripts/UIPoint.ts +123 -0
- package/scripts/UIRectangle.ts +730 -0
- package/scripts/UIRoute.ts +391 -0
- package/scripts/UIScrollView.ts +290 -0
- package/scripts/UISlideScrollerView.ts +530 -0
- package/scripts/UIStringFilter.ts +293 -0
- package/scripts/UITableView.ts +790 -0
- package/scripts/UITextArea.ts +91 -0
- package/scripts/UITextField.ts +218 -0
- package/scripts/UITextView.ts +561 -0
- package/scripts/UITimer.ts +107 -0
- package/scripts/UIView.ts +2789 -0
- package/scripts/UIViewController.ts +304 -0
- package/scripts/index.ts +36 -0
- package/tsconfig.json +59 -0
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { UIColor } from "./UIColor";
|
|
2
|
+
import { UILocalizedTextObject } from "./UICore";
|
|
3
|
+
import { UIDialogView } from "./UIDialogView";
|
|
4
|
+
import { UIObject } from "./UIObject";
|
|
5
|
+
import { UIPoint } from "./UIPoint";
|
|
6
|
+
import { UIRectangle } from "./UIRectangle";
|
|
7
|
+
import "./UICoreExtensions";
|
|
8
|
+
declare module AutoLayout {
|
|
9
|
+
class Constraint {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
12
|
+
class View {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
15
|
+
class VisualFormat {
|
|
16
|
+
static parse(arg0: any, arg1: any): any;
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}
|
|
19
|
+
enum Attribute {
|
|
20
|
+
LEFT,
|
|
21
|
+
RIGHT,
|
|
22
|
+
BOTTOM,
|
|
23
|
+
TOP,
|
|
24
|
+
CENTERX,
|
|
25
|
+
CENTERY,
|
|
26
|
+
WIDTH,
|
|
27
|
+
HEIGHT,
|
|
28
|
+
ZINDEX,
|
|
29
|
+
VARIABLE,
|
|
30
|
+
NOTANATTRIBUTE
|
|
31
|
+
}
|
|
32
|
+
enum Relation {
|
|
33
|
+
EQU,
|
|
34
|
+
LEQ,
|
|
35
|
+
GEQ
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
interface LooseObject {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}
|
|
41
|
+
export interface ControlEventTargetsObject {
|
|
42
|
+
[key: string]: Function[];
|
|
43
|
+
}
|
|
44
|
+
export interface UIViewBroadcastEvent {
|
|
45
|
+
name: string;
|
|
46
|
+
parameters: {
|
|
47
|
+
[key: string]: string | string[];
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export declare type UIViewAddControlEventTargetObject<T extends typeof UIView.controlEvent> = {
|
|
51
|
+
[K in keyof T]: ((sender: UIView, event: Event) => void) & Partial<UIViewAddControlEventTargetObject<T>>;
|
|
52
|
+
};
|
|
53
|
+
export declare class UIView extends UIObject {
|
|
54
|
+
_nativeSelectionEnabled: boolean;
|
|
55
|
+
_shouldLayout: boolean;
|
|
56
|
+
_UITableViewRowIndex: number;
|
|
57
|
+
_UITableViewReusabilityIdentifier: any;
|
|
58
|
+
_UIViewIntrinsicTemporaryWidth: string;
|
|
59
|
+
_UIViewIntrinsicTemporaryHeight: string;
|
|
60
|
+
_enabled: boolean;
|
|
61
|
+
_frame: any;
|
|
62
|
+
_backgroundColor: UIColor;
|
|
63
|
+
_viewHTMLElement: HTMLElement & LooseObject;
|
|
64
|
+
_innerHTMLKey: string;
|
|
65
|
+
_defaultInnerHTML: string;
|
|
66
|
+
_parameters: {
|
|
67
|
+
[x: string]: (string | UILocalizedTextObject);
|
|
68
|
+
};
|
|
69
|
+
_localizedTextObject: UILocalizedTextObject;
|
|
70
|
+
_controlEventTargets: ControlEventTargetsObject;
|
|
71
|
+
_frameTransform: string;
|
|
72
|
+
_viewControllerLayoutFunction: () => void;
|
|
73
|
+
_didLayoutSubviewsDelegateFunction: () => void;
|
|
74
|
+
_didReceiveBroadcastEventDelegateFunction: (event: UIViewBroadcastEvent) => void;
|
|
75
|
+
_updateLayoutFunction: any;
|
|
76
|
+
_constraints: any[];
|
|
77
|
+
superview: UIView;
|
|
78
|
+
subviews: UIView[];
|
|
79
|
+
_styleClasses: any[];
|
|
80
|
+
_isHidden: boolean;
|
|
81
|
+
pausesPointerEvents: boolean;
|
|
82
|
+
stopsPointerEventPropagation: boolean;
|
|
83
|
+
_isPointerInside: boolean;
|
|
84
|
+
_isPointerValid: boolean;
|
|
85
|
+
_initialPointerPosition: UIPoint;
|
|
86
|
+
_hasPointerDragged: boolean;
|
|
87
|
+
_pointerDragThreshold: number;
|
|
88
|
+
ignoresTouches: boolean;
|
|
89
|
+
ignoresMouse: boolean;
|
|
90
|
+
static _UIViewIndex: number;
|
|
91
|
+
_UIViewIndex: number;
|
|
92
|
+
static _viewsToLayout: UIView[];
|
|
93
|
+
forceIntrinsicSizeZero: boolean;
|
|
94
|
+
_touchEventTime: number;
|
|
95
|
+
static _pageScale: number;
|
|
96
|
+
constructor(elementID?: string, viewHTMLElement?: HTMLElement & LooseObject, elementType?: string, initViewData?: any);
|
|
97
|
+
static get nextIndex(): number;
|
|
98
|
+
static get pageHeight(): number;
|
|
99
|
+
static get pageWidth(): number;
|
|
100
|
+
initView(elementID: string, viewHTMLElement: HTMLElement, initViewData?: any): void;
|
|
101
|
+
centerInContainer(): void;
|
|
102
|
+
centerXInContainer(): void;
|
|
103
|
+
centerYInContainer(): void;
|
|
104
|
+
_initViewHTMLElement(elementID: any, viewHTMLElement: any, elementType?: string): void;
|
|
105
|
+
set nativeSelectionEnabled(selectable: boolean);
|
|
106
|
+
get nativeSelectionEnabled(): boolean;
|
|
107
|
+
get styleClassName(): string;
|
|
108
|
+
_initViewCSSSelectorsIfNeeded(): void;
|
|
109
|
+
initViewStyleSelectors(): void;
|
|
110
|
+
initStyleSelector(selector: any, style: any): void;
|
|
111
|
+
createElement(elementID: any, elementType: any): HTMLElement;
|
|
112
|
+
get viewHTMLElement(): HTMLElement & LooseObject;
|
|
113
|
+
get elementID(): string;
|
|
114
|
+
setInnerHTML(key: string, defaultString: string, parameters?: {
|
|
115
|
+
[x: string]: string | UILocalizedTextObject;
|
|
116
|
+
}): void;
|
|
117
|
+
_setInnerHTMLFromKeyIfPossible(): void;
|
|
118
|
+
_setInnerHTMLFromLocalizedTextObjectIfPossible(): void;
|
|
119
|
+
get localizedTextObject(): UILocalizedTextObject;
|
|
120
|
+
set localizedTextObject(localizedTextObject: UILocalizedTextObject);
|
|
121
|
+
get innerHTML(): string;
|
|
122
|
+
set innerHTML(innerHTML: string);
|
|
123
|
+
set hoverText(hoverText: string);
|
|
124
|
+
get hoverText(): string;
|
|
125
|
+
get scrollSize(): UIRectangle;
|
|
126
|
+
get dialogView(): UIDialogView;
|
|
127
|
+
get rootView(): UIView;
|
|
128
|
+
set enabled(enabled: boolean);
|
|
129
|
+
get enabled(): boolean;
|
|
130
|
+
updateContentForCurrentEnabledState(): void;
|
|
131
|
+
get tabIndex(): number;
|
|
132
|
+
set tabIndex(index: number);
|
|
133
|
+
get styleClasses(): any[];
|
|
134
|
+
set styleClasses(styleClasses: any[]);
|
|
135
|
+
hasStyleClass(styleClass: any): boolean;
|
|
136
|
+
addStyleClass(styleClass: string): void;
|
|
137
|
+
removeStyleClass(styleClass: string): void;
|
|
138
|
+
static findViewWithElementID(elementID: string): UIView;
|
|
139
|
+
static createStyleSelector(selector: any, style: any): void;
|
|
140
|
+
static getStyleRules(selector: any): any;
|
|
141
|
+
get style(): CSSStyleDeclaration;
|
|
142
|
+
get computedStyle(): CSSStyleDeclaration;
|
|
143
|
+
get hidden(): boolean;
|
|
144
|
+
set hidden(v: boolean);
|
|
145
|
+
static set pageScale(scale: number);
|
|
146
|
+
static get pageScale(): number;
|
|
147
|
+
calculateAndSetViewFrame(): void;
|
|
148
|
+
get frame(): UIRectangle;
|
|
149
|
+
set frame(rectangle: UIRectangle);
|
|
150
|
+
setFrame(rectangle: any, zIndex?: number, performUncheckedLayout?: boolean): void;
|
|
151
|
+
get bounds(): UIRectangle;
|
|
152
|
+
set bounds(rectangle: UIRectangle);
|
|
153
|
+
boundsDidChange(): void;
|
|
154
|
+
setPosition(left?: number | string, right?: number | string, bottom?: number | string, top?: number | string, height?: number | string, width?: number | string): void;
|
|
155
|
+
setSizes(height?: number | string, width?: number | string): void;
|
|
156
|
+
setMinSizes(height?: number | string, width?: number | string): void;
|
|
157
|
+
setMaxSizes(height?: number | string, width?: number | string): void;
|
|
158
|
+
setMargin(margin?: number | string): void;
|
|
159
|
+
setMargins(left?: number | string, right?: number | string, bottom?: number | string, top?: number | string): void;
|
|
160
|
+
setPadding(padding?: number | string): void;
|
|
161
|
+
setPaddings(left?: number | string, right?: number | string, bottom?: number | string, top?: number | string): void;
|
|
162
|
+
setBorder(radius?: number | string, width?: number | string, color?: UIColor, style?: string): void;
|
|
163
|
+
setStyleProperty(propertyName: string, value?: number | string): void;
|
|
164
|
+
get userInteractionEnabled(): boolean;
|
|
165
|
+
set userInteractionEnabled(userInteractionEnabled: boolean);
|
|
166
|
+
get backgroundColor(): UIColor;
|
|
167
|
+
set backgroundColor(backgroundColor: UIColor);
|
|
168
|
+
get alpha(): number;
|
|
169
|
+
set alpha(alpha: number);
|
|
170
|
+
static animateViewOrViewsWithDurationDelayAndFunction(viewOrViews: UIView | HTMLElement | UIView[] | HTMLElement[], duration: number, delay: number, timingStyle: string, transformFunction: Function, transitioncompletionFunction: Function): {
|
|
171
|
+
finishImmediately: () => void;
|
|
172
|
+
didFinish: () => void;
|
|
173
|
+
views: HTMLElement | UIView | UIView[] | HTMLElement[];
|
|
174
|
+
registrationTime: number;
|
|
175
|
+
};
|
|
176
|
+
animationDidFinish(): void;
|
|
177
|
+
static _transformAttribute: string;
|
|
178
|
+
static _setAbsoluteSizeAndPosition(element: any, left: any, top: any, width: any, height: any, zIndex?: number): void;
|
|
179
|
+
static performAutoLayout(parentElement: any, visualFormatArray: any, constraintsArray: any): () => void;
|
|
180
|
+
static runFunctionBeforeNextFrame(step: () => void): void;
|
|
181
|
+
static scheduleLayoutViewsIfNeeded(): void;
|
|
182
|
+
static layoutViewsIfNeeded(): void;
|
|
183
|
+
setNeedsLayout(): void;
|
|
184
|
+
get needsLayout(): boolean;
|
|
185
|
+
layoutIfNeeded(): void;
|
|
186
|
+
layoutSubviews(): void;
|
|
187
|
+
applyClassesAndStyles(): void;
|
|
188
|
+
didLayoutSubviews(): void;
|
|
189
|
+
get constraints(): any[];
|
|
190
|
+
set constraints(constraints: any[]);
|
|
191
|
+
addConstraint(constraint: any): void;
|
|
192
|
+
addConstraintsWithVisualFormat(visualFormatArray: any): void;
|
|
193
|
+
static constraintWithView(view: any, attribute: any, relation: any, toView: any, toAttribute: any, multiplier: any, constant: any, priority: any): {
|
|
194
|
+
view1: any;
|
|
195
|
+
attr1: any;
|
|
196
|
+
relation: any;
|
|
197
|
+
view2: any;
|
|
198
|
+
attr2: any;
|
|
199
|
+
multiplier: any;
|
|
200
|
+
constant: any;
|
|
201
|
+
priority: any;
|
|
202
|
+
};
|
|
203
|
+
static constraintAttribute: {
|
|
204
|
+
left: AutoLayout.Attribute;
|
|
205
|
+
right: AutoLayout.Attribute;
|
|
206
|
+
bottom: AutoLayout.Attribute;
|
|
207
|
+
top: AutoLayout.Attribute;
|
|
208
|
+
centerX: AutoLayout.Attribute;
|
|
209
|
+
centerY: AutoLayout.Attribute;
|
|
210
|
+
height: AutoLayout.Attribute;
|
|
211
|
+
width: AutoLayout.Attribute;
|
|
212
|
+
zIndex: AutoLayout.Attribute;
|
|
213
|
+
constant: AutoLayout.Attribute;
|
|
214
|
+
variable: AutoLayout.Attribute;
|
|
215
|
+
};
|
|
216
|
+
static constraintRelation: {
|
|
217
|
+
equal: AutoLayout.Relation;
|
|
218
|
+
lessThanOrEqual: AutoLayout.Relation;
|
|
219
|
+
greaterThanOrEqual: AutoLayout.Relation;
|
|
220
|
+
};
|
|
221
|
+
subviewWithID(viewID: any): any;
|
|
222
|
+
rectangleContainingSubviews(): UIRectangle;
|
|
223
|
+
hasSubview(view: UIView): boolean;
|
|
224
|
+
get viewBelowThisView(): UIView;
|
|
225
|
+
get viewAboveThisView(): UIView;
|
|
226
|
+
addSubview(view: UIView, aboveView?: UIView): void;
|
|
227
|
+
addSubviews(views: UIView[]): void;
|
|
228
|
+
moveToBottomOfSuperview(): void;
|
|
229
|
+
moveToTopOfSuperview(): void;
|
|
230
|
+
removeFromSuperview(): void;
|
|
231
|
+
willAppear(): void;
|
|
232
|
+
willMoveToSuperview(superview: UIView): void;
|
|
233
|
+
didMoveToSuperview(superview: UIView): void;
|
|
234
|
+
wasAddedToViewTree(): void;
|
|
235
|
+
wasRemovedFromViewTree(): void;
|
|
236
|
+
get isMemberOfViewTree(): boolean;
|
|
237
|
+
get allSuperviews(): any[];
|
|
238
|
+
setNeedsLayoutOnAllSuperviews(): void;
|
|
239
|
+
setNeedsLayoutUpToRootView(): void;
|
|
240
|
+
focus(): void;
|
|
241
|
+
blur(): void;
|
|
242
|
+
_loadUIEvents(): void;
|
|
243
|
+
static controlEvent: {
|
|
244
|
+
PointerDown: string;
|
|
245
|
+
PointerMove: string;
|
|
246
|
+
PointerLeave: string;
|
|
247
|
+
PointerEnter: string;
|
|
248
|
+
PointerUpInside: string;
|
|
249
|
+
PointerTap: string;
|
|
250
|
+
PointerUp: string;
|
|
251
|
+
MultipleTouches: string;
|
|
252
|
+
PointerCancel: string;
|
|
253
|
+
PointerHover: string;
|
|
254
|
+
EnterDown: string;
|
|
255
|
+
EnterUp: string;
|
|
256
|
+
EscDown: string;
|
|
257
|
+
TabDown: string;
|
|
258
|
+
LeftArrowDown: string;
|
|
259
|
+
RightArrowDown: string;
|
|
260
|
+
DownArrowDown: string;
|
|
261
|
+
UpArrowDown: string;
|
|
262
|
+
Focus: string;
|
|
263
|
+
Blur: string;
|
|
264
|
+
};
|
|
265
|
+
controlEvent: {
|
|
266
|
+
PointerDown: string;
|
|
267
|
+
PointerMove: string;
|
|
268
|
+
PointerLeave: string;
|
|
269
|
+
PointerEnter: string;
|
|
270
|
+
PointerUpInside: string;
|
|
271
|
+
PointerTap: string;
|
|
272
|
+
PointerUp: string;
|
|
273
|
+
MultipleTouches: string;
|
|
274
|
+
PointerCancel: string;
|
|
275
|
+
PointerHover: string;
|
|
276
|
+
EnterDown: string;
|
|
277
|
+
EnterUp: string;
|
|
278
|
+
EscDown: string;
|
|
279
|
+
TabDown: string;
|
|
280
|
+
LeftArrowDown: string;
|
|
281
|
+
RightArrowDown: string;
|
|
282
|
+
DownArrowDown: string;
|
|
283
|
+
UpArrowDown: string;
|
|
284
|
+
Focus: string;
|
|
285
|
+
Blur: string;
|
|
286
|
+
};
|
|
287
|
+
get addControlEventTarget(): UIViewAddControlEventTargetObject<{
|
|
288
|
+
PointerDown: string;
|
|
289
|
+
PointerMove: string;
|
|
290
|
+
PointerLeave: string;
|
|
291
|
+
PointerEnter: string;
|
|
292
|
+
PointerUpInside: string;
|
|
293
|
+
PointerTap: string;
|
|
294
|
+
PointerUp: string;
|
|
295
|
+
MultipleTouches: string;
|
|
296
|
+
PointerCancel: string;
|
|
297
|
+
PointerHover: string;
|
|
298
|
+
EnterDown: string;
|
|
299
|
+
EnterUp: string;
|
|
300
|
+
EscDown: string;
|
|
301
|
+
TabDown: string;
|
|
302
|
+
LeftArrowDown: string;
|
|
303
|
+
RightArrowDown: string;
|
|
304
|
+
DownArrowDown: string;
|
|
305
|
+
UpArrowDown: string;
|
|
306
|
+
Focus: string;
|
|
307
|
+
Blur: string;
|
|
308
|
+
}>;
|
|
309
|
+
addTargetForControlEvents(eventKeys: string[], targetFunction: (sender: UIView, event: Event) => void): void;
|
|
310
|
+
addTargetForControlEvent(eventKey: string, targetFunction: (sender: UIView, event: Event) => void): void;
|
|
311
|
+
removeTargetForControlEvent(eventKey: string, targetFunction: (sender: UIView, event: Event) => void): void;
|
|
312
|
+
removeTargetForControlEvents(eventKeys: string[], targetFunction: (sender: UIView, event: Event) => void): void;
|
|
313
|
+
sendControlEventForKey(eventKey: string, nativeEvent: Event): void;
|
|
314
|
+
static broadcastEventName: {
|
|
315
|
+
LanguageChanged: string;
|
|
316
|
+
RemovedFromViewTree: string;
|
|
317
|
+
AddedToViewTree: string;
|
|
318
|
+
PageDidScroll: string;
|
|
319
|
+
};
|
|
320
|
+
broadcastEventInSubtree(event: UIViewBroadcastEvent): void;
|
|
321
|
+
didReceiveBroadcastEvent(event: UIViewBroadcastEvent): void;
|
|
322
|
+
forEachViewInSubtree(functionToCall: (view: UIView) => void): void;
|
|
323
|
+
rectangleInView(rectangle: UIRectangle, view: UIView): any;
|
|
324
|
+
rectangleFromView(rectangle: UIRectangle, view: UIView): any;
|
|
325
|
+
intrinsicContentSizeWithConstraints(constrainingHeight?: number, constrainingWidth?: number): UIRectangle;
|
|
326
|
+
intrinsicContentWidth(constrainingHeight?: number): number;
|
|
327
|
+
intrinsicContentHeight(constrainingWidth?: number): number;
|
|
328
|
+
intrinsicContentSize(): UIRectangle;
|
|
329
|
+
}
|
|
330
|
+
export {};
|