devicePixelRatio

open external val devicePixelRatio: Double(source)

A number representing the screen's device pixel ratio

MDN Reference