You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (JIRA)" <ji...@apache.org> on 2017/07/04 16:33:00 UTC

[jira] [Updated] (CB-12985) Change `InAppBrowser.open(url, target, options)` to get `options` as object, not string

     [ https://issues.apache.org/jira/browse/CB-12985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Piotrowski updated CB-12985:
--------------------------------
    Description: 
`InAppBrowser.open(url, target, options)` currently expects `options` to be a string, formatted in a special way (no spaces).
It would be much easier to maintain this if `options` would be a plain Javascript object.

The yes|no values could be changed to true|false of course.

(During this change all options should probably also be unified to use camelCase)

  was:
`InAppBrowser.open(url, target, options)` currently expects `options` to be a string, formatted in a special way (no spaces). It would be much easier to maintain this if `options` would be a plain Javascript object.

The yes|no values could be changed to true|false of course.

(During this change all options should probably also be unified to use camelCase)


> Change `InAppBrowser.open(url, target, options)` to get `options` as object, not string
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-12985
>                 URL: https://issues.apache.org/jira/browse/CB-12985
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-plugin-inappbrowser
>            Reporter: Jan Piotrowski
>
> `InAppBrowser.open(url, target, options)` currently expects `options` to be a string, formatted in a special way (no spaces).
> It would be much easier to maintain this if `options` would be a plain Javascript object.
> The yes|no values could be changed to true|false of course.
> (During this change all options should probably also be unified to use camelCase)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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