This plugin allows to receive push notifications. The Android implementation uses
Google's GCM (Google Cloud Messaging) service,
whereas the iOS version is based on Apple APNS Notifications
public screen:Screen
public screenLeft:number
public screenTop:number
public screenX:number
public screenY:number
public self:Window
public sessionStorage:Storage
public status:string
public styleMedia:StyleMedia
public top:Window
public window:Window
Methods
public addEventListener(type: ""loadstart"", callback: (event: InAppBrowserEvent) => void)
Adds a listener for an event from the InAppBrowser.
Parameters
type: ""loadstart""
the event to listen for
loadstart: event fires when the InAppBrowser starts to load a URL.
loadstop: event fires when the InAppBrowser finishes loading a URL.
loaderror: event fires when the InAppBrowser encounters an error when loading a URL.
exit: event fires when the InAppBrowser window is closed.
callback: (event: InAppBrowserEvent) => void
the function that executes when the event fires. The function is
passed an InAppBrowserEvent object as a parameter.
public addEventListener(type: ""loadstop"", callback: (event: InAppBrowserEvent) => void)
Adds a listener for an event from the InAppBrowser.
Parameters
type: ""loadstop""
the event to listen for
loadstart: event fires when the InAppBrowser starts to load a URL.
loadstop: event fires when the InAppBrowser finishes loading a URL.
loaderror: event fires when the InAppBrowser encounters an error when loading a URL.
exit: event fires when the InAppBrowser window is closed.
callback: (event: InAppBrowserEvent) => void
the function that executes when the event fires. The function is
passed an InAppBrowserEvent object as a parameter.
public addEventListener(type: ""loaderror"", callback: (event: InAppBrowserEvent) => void)
Adds a listener for an event from the InAppBrowser.
Parameters
type: ""loaderror""
the event to listen for
loadstart: event fires when the InAppBrowser starts to load a URL.
loadstop: event fires when the InAppBrowser finishes loading a URL.
loaderror: event fires when the InAppBrowser encounters an error when loading a URL.
exit: event fires when the InAppBrowser window is closed.
callback: (event: InAppBrowserEvent) => void
the function that executes when the event fires. The function is
passed an InAppBrowserEvent object as a parameter.
public addEventListener(type: ""exit"", callback: (event: InAppBrowserEvent) => void)
Adds a listener for an event from the InAppBrowser.
Parameters
type: ""exit""
the event to listen for
loadstart: event fires when the InAppBrowser starts to load a URL.
loadstop: event fires when the InAppBrowser finishes loading a URL.
loaderror: event fires when the InAppBrowser encounters an error when loading a URL.
exit: event fires when the InAppBrowser window is closed.
callback: (event: InAppBrowserEvent) => void
the function that executes when the event fires. The function is
passed an InAppBrowserEvent object as a parameter.
public addEventListener(type: string, callback: (event: InAppBrowserEvent) => void)
Adds a listener for an event from the InAppBrowser.
Parameters
type: string
the event to listen for
loadstart: event fires when the InAppBrowser starts to load a URL.
loadstop: event fires when the InAppBrowser finishes loading a URL.
loaderror: event fires when the InAppBrowser encounters an error when loading a URL.
exit: event fires when the InAppBrowser window is closed.
callback: (event: InAppBrowserEvent) => void
the function that executes when the event fires. The function is
passed an InAppBrowserEvent object as a parameter.
public alert(message?: any)
Parameters
message?: anyoptional
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public blur()
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public cancelAnimationFrame(handle: number)
Parameters
handle: number
public captureEvents()
public captureEvents()
public captureEvents()
public captureEvents()
public captureEvents()
public captureEvents()
public captureEvents()
public captureEvents()
public captureEvents()
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public close()
Closes the InAppBrowser window.
public confirm(message?: string): boolean
Parameters
message?: stringoptional
Returns
boolean
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Injects JavaScript code into the InAppBrowser window.
Parameters
script: { code: string; }
Details of the script to run, specifying either a file or code key.
callback: (result: any) => void
The function that executes after the JavaScript code is injected.
If the injected script is of type code, the callback executes with
a single parameter, which is the return value of the script, wrapped in an Array.
For multi-line scripts, this is the return value of the last statement,
or the last expression evaluated.
Injects JavaScript code into the InAppBrowser window.
Parameters
script: { file: string; }
Details of the script to run, specifying either a file or code key.
callback: (result: any) => void
The function that executes after the JavaScript code is injected.
If the injected script is of type code, the callback executes with
a single parameter, which is the return value of the script, wrapped in an Array.
For multi-line scripts, this is the return value of the last statement,
or the last expression evaluated.
public focus()
public getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration
Parameters
elt: Element
pseudoElt?: stringoptional
Returns
CSSStyleDeclaration
public getSelection(): Selection
Returns
Selection
public insertCSS(css: { code: string; }, callback: () => void)
Injects CSS into the InAppBrowser window.
Parameters
css: { code: string; }
Details of the script to run, specifying either a file or code key.
callback: () => void
The function that executes after the CSS is injected.
public insertCSS(css: { file: string; }, callback: () => void)
Injects CSS into the InAppBrowser window.
Parameters
css: { file: string; }
Details of the script to run, specifying either a file or code key.
callback: () => void
The function that executes after the CSS is injected.
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public matchMedia(mediaQuery: string): MediaQueryList
Parameters
mediaQuery: string
Returns
MediaQueryList
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public msCancelRequestAnimationFrame(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msIsStaticHTML(html: string): boolean
Parameters
html: string
Returns
boolean
public msMatchMedia(mediaQuery: string): MediaQueryList
Parameters
mediaQuery: string
Returns
MediaQueryList
public msRequestAnimationFrame(callback: FrameRequestCallback): number
Parameters
callback: FrameRequestCallback
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public open(url?: string, target?: string, features?: string, replace?: boolean): Window
public postMessage(message: any, targetOrigin: string, ports?: any)
Parameters
message: any
targetOrigin: string
ports?: anyoptional
public print()
public prompt(message?: string, defaul?: string): string
Parameters
message?: stringoptional
defaul?: stringoptional
Returns
string
public releaseEvents()
public releaseEvents()
public releaseEvents()
public releaseEvents()
public releaseEvents()
public releaseEvents()
public releaseEvents()
public releaseEvents()
public releaseEvents()
public removeEventListener(type: ""loadstart"", callback: (event: InAppBrowserEvent) => void)
Removes a listener for an event from the InAppBrowser.
Parameters
type: ""loadstart""
The event to stop listening for.
loadstart: event fires when the InAppBrowser starts to load a URL.
loadstop: event fires when the InAppBrowser finishes loading a URL.
loaderror: event fires when the InAppBrowser encounters an error when loading a URL.
exit: event fires when the InAppBrowser window is closed.
callback: (event: InAppBrowserEvent) => void
the function that executes when the event fires. The function is
passed an InAppBrowserEvent object as a parameter.
public removeEventListener(type: ""loadstop"", callback: (event: InAppBrowserEvent) => void)
Removes a listener for an event from the InAppBrowser.
Parameters
type: ""loadstop""
The event to stop listening for.
loadstart: event fires when the InAppBrowser starts to load a URL.
loadstop: event fires when the InAppBrowser finishes loading a URL.
loaderror: event fires when the InAppBrowser encounters an error when loading a URL.
exit: event fires when the InAppBrowser window is closed.
callback: (event: InAppBrowserEvent) => void
the function that executes when the event fires. The function is
passed an InAppBrowserEvent object as a parameter.
public removeEventListener(type: ""loaderror"", callback: (event: InAppBrowserEvent) => void)
Removes a listener for an event from the InAppBrowser.
Parameters
type: ""loaderror""
The event to stop listening for.
loadstart: event fires when the InAppBrowser starts to load a URL.
loadstop: event fires when the InAppBrowser finishes loading a URL.
loaderror: event fires when the InAppBrowser encounters an error when loading a URL.
exit: event fires when the InAppBrowser window is closed.
callback: (event: InAppBrowserEvent) => void
the function that executes when the event fires. The function is
passed an InAppBrowserEvent object as a parameter.
public removeEventListener(type: ""exit"", callback: (event: InAppBrowserEvent) => void)
Removes a listener for an event from the InAppBrowser.
Parameters
type: ""exit""
The event to stop listening for.
loadstart: event fires when the InAppBrowser starts to load a URL.
loadstop: event fires when the InAppBrowser finishes loading a URL.
loaderror: event fires when the InAppBrowser encounters an error when loading a URL.
exit: event fires when the InAppBrowser window is closed.
callback: (event: InAppBrowserEvent) => void
the function that executes when the event fires. The function is
passed an InAppBrowserEvent object as a parameter.
public removeEventListener(type: string, callback: (event: InAppBrowserEvent) => void)
Removes a listener for an event from the InAppBrowser.
Parameters
type: string
The event to stop listening for.
loadstart: event fires when the InAppBrowser starts to load a URL.
loadstop: event fires when the InAppBrowser finishes loading a URL.
loaderror: event fires when the InAppBrowser encounters an error when loading a URL.
exit: event fires when the InAppBrowser window is closed.
callback: (event: InAppBrowserEvent) => void
the function that executes when the event fires. The function is
passed an InAppBrowserEvent object as a parameter.
public requestAnimationFrame(callback: FrameRequestCallback): number