on fa132ea help sign in
elk/libraries/Window.elm
17 lines 381 B history raw
2module Window where
4import Native.Window as Native
6-- The current dimensions of the window (i.e. the area viewable to the
7-- user, not including scroll bars).
8dimensions : Signal (Int,Int)
9dimensions = Native.dimensions
11-- The current width of the window.
12width : Signal Int
13width = Native.width
15-- The current height of the window.
16height : Signal Int
17height = Native.height