Skip to content

Commit

Permalink
feat(in-app-browser): add 'beforeload' as option (#2863)
Browse files Browse the repository at this point in the history
Please see the issue I created here for more information: #2861

This allows Ionic-Native to be used with the latest features of Cordova InAppBrowser's github.
  • Loading branch information
ewwwgiddings authored and danielsogl committed Jan 4, 2019
1 parent 5df3de7 commit d33bcb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/@ionic-native/plugins/in-app-browser/index.ts
Expand Up @@ -78,6 +78,8 @@ export interface InAppBrowserOptions {
fullscreen?: 'yes';
/** (Android Only) Sets whether the WebView should enable support for the "viewport" HTML meta tag or should use a wide viewport. When the value of the setting is no, the layout width is always set to the width of the WebView control in device-independent (CSS) pixels. When the value is yes and the page contains the viewport meta tag, the value of the width specified in the tag is used. If the page does not contain the tag or does not provide a width, then a wide viewport will be used. (defaults to yes). */
useWideViewPort?: 'yes' | 'no';
/** Allows for latest 'beforeload' feature of Cordova InAppBrowser to be registered as an option if using plugin's latest github master (1/4/2019) instead of npm. Post is currently not supported but will be. */
beforeload?: 'yes' | 'post' | 'get';
/**
* @hidden
*/
Expand Down

0 comments on commit d33bcb0

Please sign in to comment.