Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12132

Add hidenotcloseoption

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ghenry22 Gaven Henry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified