Reference displayDensity()

displayDensity()

Returns the display's current pixel density.

Examples

Returns

Number: current pixel density of the display.
This page is generated from the comments in src/core/environment.js . Please feel free to edit it and submit a pull request!

Related References