Boolean if currently matching a desktop screen by comparing the max width of the device.
Boolean if the app is considered to be in landscape mode. This will just verify that the window width is greater than the window height.
NOTE: This might not be super accurate on Android devices since the soft
keyboard will change the dimensions of the viewport when it appears. It is
recommended to use the useOrientation
hook as well if you'd like to get
the current orientation type.
Boolean if currently matching a large desktop screen by comparing the max width of the device.
Boolean if currently matching a phone by comparing the max width of the device.
Boolean if currently matching a tablet by comparing the max width of the device.
Generated using TypeDoc
The current size for your application. This should work both server side and client side, but you will have much better results client side.