You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The [android Application](http://developer.android.com/reference/android/app/Application.html) object instance provided to the init of the module.
305
305
*/
306
-
nativeApp: android.app.Application;
306
+
nativeApp: any/* android.app.Application */;
307
307
308
308
/**
309
309
* The application's [android Context](http://developer.android.com/reference/android/content/Context.html) object instance.
310
310
*/
311
-
context: android.content.Context;
311
+
context: any/* android.content.Context */;
312
312
313
313
/**
314
314
* The currently active (loaded) [android Activity](http://developer.android.com/reference/android/app/Activity.html). This property is automatically updated upon Activity events.
* [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityCreated method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html).
* [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityDestroyed method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html).
* [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityDestroyed method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html).
* [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityPaused method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html).
* [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityResumed method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html).
* [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityStopped method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html).
* [Deprecated. Please use the respective event instead.] Direct handler of the [onActivitySaveInstanceState method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html).
* The [UIApplication](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/index.html).
507
507
*/
508
-
nativeApp: UIApplication;
508
+
nativeApp: any/* UIApplication */;
509
509
510
510
/**
511
511
* The [UIApplicationDelegate](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/index.html) class.
512
512
*/
513
-
delegate: typeofUIApplicationDelegate;
513
+
delegate: any/* typeof UIApplicationDelegate */;
514
514
515
515
/**
516
516
* Adds an observer to the default notification center for the specified notification.
517
517
* For more information, please visit 'https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNotificationCenter_Class/#//apple_ref/occ/instm/NSNotificationCenter/addObserver:selector:name:object:'
518
518
* @param notificationName A string containing the name of the notification.
519
519
* @param onReceiveCallback A callback function that will be called each time the observer receives a notification.
* The iOS-specific [UIImage](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImage_Class/) instance. Will be undefined when running on Android.
22
22
*/
23
-
ios: UIImage;
23
+
ios: any/* UIImage */;
24
24
25
25
/**
26
26
* The Android-specific [image](http://developer.android.com/reference/android/graphics/Bitmap.html) instance. Will be undefined when running on iOS.
27
27
*/
28
-
android: android.graphics.Bitmap;
28
+
android: any/* android.graphics.Bitmap */;
29
29
30
30
/**
31
31
* Loads this instance from the specified resource name.
* Gets the native [android widget](http://developer.android.com/reference/android/widget/ProgressBar.html) that represents the user interface for this component. Valid only when running on Android OS.
19
19
*/
20
-
android: android.widget.ProgressBar;
20
+
android: any/* android.widget.ProgressBar */;
21
21
22
22
/**
23
23
* Gets the native iOS [UIActivityIndicatorView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIActivityIndicatorView_Class/index.html) that represents the user interface for this component. Valid only when running on iOS.
24
24
*/
25
-
ios: UIActivityIndicatorView;
25
+
ios: any/* UIActivityIndicatorView */;
26
26
27
27
/**
28
28
* Gets or sets a value indicating whether the widget is currently displaying progress.
Copy file name to clipboardExpand all lines: ui/button/button.d.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ declare module "ui/button" {
24
24
/**
25
25
* Gets the native [android widget](http://developer.android.com/reference/android/widget/Button.html) that represents the user interface for this component. Valid only when running on Android OS.
26
26
*/
27
-
android: android.widget.Button;
27
+
android: any/* android.widget.Button */;
28
28
29
29
/**
30
30
* Gets the native [UIButton](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIButton_Class/) that represents the user interface for this component. Valid only when running on iOS.
31
31
*/
32
-
ios: UIButton;
32
+
ios: any/* UIButton */;
33
33
34
34
/**
35
35
* Gets or sets the text (label) displayed by this instance.
0 commit comments