[
https://issues.apache.org/jira/browse/CB-7920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah updated CB-7920:
---------------------------------
Component/s: Plugin Device
> Real device Width and Height
> -----------------------------
>
> Key: CB-7920
> URL: https://issues.apache.org/jira/browse/CB-7920
> Project: Apache Cordova
> Issue Type: Wish
> Components: Plugin Device
> Reporter: John McLear
>
> At current there is no way in Cordova to get the device width/height in
> pixels. The only way to do this is to run in full screen then hope
> window.innerHeight/width is reliable.. This is not useful if you need to
> take into account the offset created by the notification bar(on Android for
> example).
> Ideally this information would be provided by the "device plugin" as:
> ``device.width`` & ``device.height``
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]