CB-10760: Fixing README for display on Cordova website

This closes #153
This commit is contained in:
riknoll 2016-03-01 17:21:02 -08:00
parent ea1253963b
commit 0db344327c

View File

@ -56,7 +56,7 @@ Although `window.open` is in the global scope, InAppBrowser is not available unt
console.log("window.open works well"); console.log("window.open works well");
} }
:warning: Report issues on the [Apache Cordova issue tracker](https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20in%20%28Open%2C%20%22In%20Progress%22%2C%20Reopened%29%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Plugin%20InAppBrowser%22%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC) Report issues with this plugin on the [Apache Cordova issue tracker](https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20in%20%28Open%2C%20%22In%20Progress%22%2C%20Reopened%29%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Plugin%20InAppBrowser%22%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC)
@ -200,7 +200,7 @@ The object returned from a call to `cordova.InAppBrowser.open`.
- executeScript - executeScript
- insertCSS - insertCSS
## addEventListener ## InAppBrowser.addEventListener
> Adds a listener for an event from the `InAppBrowser`. > Adds a listener for an event from the `InAppBrowser`.
@ -246,7 +246,7 @@ The object returned from a call to `cordova.InAppBrowser.open`.
var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes');
ref.addEventListener('loadstart', function(event) { alert(event.url); }); ref.addEventListener('loadstart', function(event) { alert(event.url); });
## removeEventListener ## InAppBrowser.removeEventListener
> Removes a listener for an event from the `InAppBrowser`. > Removes a listener for an event from the `InAppBrowser`.
@ -280,7 +280,7 @@ The function is passed an `InAppBrowserEvent` object.
ref.addEventListener('loadstart', myCallback); ref.addEventListener('loadstart', myCallback);
ref.removeEventListener('loadstart', myCallback); ref.removeEventListener('loadstart', myCallback);
## close ## InAppBrowser.close
> Closes the `InAppBrowser` window. > Closes the `InAppBrowser` window.
@ -303,7 +303,7 @@ The function is passed an `InAppBrowserEvent` object.
var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes');
ref.close(); ref.close();
## show ## InAppBrowser.show
> Displays an InAppBrowser window that was opened hidden. Calling this has no effect if the InAppBrowser was already visible. > Displays an InAppBrowser window that was opened hidden. Calling this has no effect if the InAppBrowser was already visible.
@ -325,7 +325,7 @@ The function is passed an `InAppBrowserEvent` object.
// some time later... // some time later...
ref.show(); ref.show();
## executeScript ## InAppBrowser.executeScript
> Injects JavaScript code into the `InAppBrowser` window > Injects JavaScript code into the `InAppBrowser` window
@ -367,7 +367,7 @@ The function is passed an `InAppBrowserEvent` object.
Due to [MSDN docs](https://msdn.microsoft.com/en-us/library/windows.ui.xaml.controls.webview.invokescriptasync.aspx) the invoked script can return only string values, otherwise the parameter, passed to __callback__ will be `[null]`. Due to [MSDN docs](https://msdn.microsoft.com/en-us/library/windows.ui.xaml.controls.webview.invokescriptasync.aspx) the invoked script can return only string values, otherwise the parameter, passed to __callback__ will be `[null]`.
## insertCSS ## InAppBrowser.insertCSS
> Injects CSS into the `InAppBrowser` window. > Injects CSS into the `InAppBrowser` window.