Closed iancanderson closed 7 years ago
This is useful, for example, to implement "responsive" styles by scaling values up/down based on the screen size.
Usage:
import NativeApi.Dimensions exposing (window) windowHeight = window.height windowWidth = window.width
Thanks!
This is useful, for example, to implement "responsive" styles by scaling values up/down based on the screen size.
Usage: