cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12132) Add hidenotcloseoption
Date Fri, 11 Nov 2016 23:45:58 GMT

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

ASF GitHub Bot commented on CB-12132:
-------------------------------------

Github user jcesarmobile commented on the issue:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/197
  
    The existing hide and the new browserHide do exactly the same, can you make the old hide
just call browserHide instead of duplicating code.
    
    Can you try adding this to other platforms too?


> Add hidenotcloseoption
> ----------------------
>
>                 Key: CB-12132
>                 URL: https://issues.apache.org/jira/browse/CB-12132
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Plugin InAppBrowser
>            Reporter: Gaven Henry
>            Priority: Minor
>              Labels: features
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> add a new option for android and ios:
> option: hidenotclose=yes
> this makes the done button on iOS or the X button android hide the inappbrowser webview
instead of closing and destroying it.
> this is useful when doing something like:
> load a webview hidden (so it's nice and preloaded for the user)
> use the show() method when the user clicks to see it
> use the done/X button to hide the window
> call the close() method when done to clean up
> this allows us to start pre-loading the data, open and close the window multiple times
without having to reload and then to call close when done to dispose of the view and clean
up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message