eclipsesource / eclipsesource/tabris-js
screen API documentation incomplete
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
_Originally posted by @cookieguru in https://github.com/eclipsesource/tabris-js/issues/1595#issuecomment-489456193_
### Problem description
`device.screenWidth` and `device.screenHeight` are exposed on a global variable `screen` as `screen.width` and `screen.height` (as partial compatibility to https://developer.mozilla.org/en-US/docs/Web/API/Screen). The documentation for this API is not complete. It is mentioned in the documentation of the `screenWidth`/`screenHeight` properties of `Device` (http://docs.tabris.com/3.3/api/device.html#screenheight), but the `screen` global variable is not documented and no typings exist for it.
### Environment
- Tabris.js version: 3.3
Contributor guide
Assessment
This issue has not been assessed yet.