File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 8
8
// TypeScript Version: 2.3
9
9
type channel = "loadstart" | "loadstop" | "loaderror" | "exit" | "message" | "customscheme" ;
10
10
11
- interface Window {
11
+ /**
12
+ * The object returned from a call to cordova.InAppBrowser.open.
13
+ * NOTE: The InAppBrowser window behaves like a standard web browser, and can't access Cordova APIs.
14
+ */
15
+ interface InAppBrowser {
16
+
12
17
/**
13
18
* Opens a URL in a new InAppBrowser instance, the current browser instance, or the system browser.
14
19
* @param url The URL to load.
@@ -18,13 +23,7 @@ interface Window {
18
23
* name/value pairs must be separated by a comma. Feature names are case insensitive.
19
24
*/
20
25
open ( url : string , target ?: string , options ?: string ) : InAppBrowser ;
21
- }
22
26
23
- /**
24
- * The object returned from a call to window.open.
25
- * NOTE: The InAppBrowser window behaves like a standard web browser, and can't access Cordova APIs.
26
- */
27
- interface InAppBrowser extends Window {
28
27
onloadstart ( type : Event ) : void ;
29
28
onloadstop ( type : InAppBrowserEvent ) : void ;
30
29
onloaderror ( type : InAppBrowserEvent ) : void ;
You can’t perform that action at this time.
0 commit comments