elm-lang/core/1.0.0

NOTE: this package moved to elm/core

NOTE: this package is not compatible with Elm 0.19.1

Window

Provides information about the container that your Elm program lives in. When you embed Elm in a <div> it gives the dimensions of the container, not the whole window.

Dimensions

dimensions : Signal ( Int, Int )

The current width and height of the window (i.e. the area viewable to the user, not including scroll bars).

width : Signal Int

The current width of the window.

height : Signal Int

The current height of the window.