[ 
https://issues.apache.org/jira/browse/CB-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665643#comment-13665643
 ] 

David Kemp commented on CB-3420:
--------------------------------


It seems like focus() and blur() typically mean things like z-ordering and 
entry.

I would like to move forward with this item using the syntax:

var iab = window.open('$OAUTH_URL', 'hidden=yes');
//some time later.
iab.show();
// some time later than that
iab.hide();

with the added note that since there is no open requests for hide(), it be left 
for later.


                
> InAppBrowser Option to Start Hidden
> -----------------------------------
>
>                 Key: CB-3420
>                 URL: https://issues.apache.org/jira/browse/CB-3420
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS, mobile-spec
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>
> One common use-case for the InAppBrowser is to handle an OAuth flow. Some 
> flows can be done without any user interaction, so it would be great if the 
> InAppBrowser had an option where it would start hidden, and could later be 
> reveals through a JS call.
> E.g.
> var iab = window.open('$OAUTH_URL', 'hidden=yes');
> //some time later.
> iab.show();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to