on 39b3fcb help sign in
elk/core/Window.elm
17 lines 391 B history raw
2module Window where
4import Native.Window
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.Window.dimensions
11-- The current width of the window.
12width : Signal Int
13width = Native.Window.width
15-- The current height of the window.
16height : Signal Int
17height = Native.Window.height