Reference displayHeight

displayHeight

A Number variable that stores the height of the screen display.

displayHeight is useful for running full-screen programs. Its value depends on the current pixelDensity().

Note: The actual screen height can be computed as displayHeight * pixelDensity().

Examples

Notice any errors or typos? Please let us know. Please feel free to edit src/core/environment.js and open a pull request!

Related References