15 lines
296 B
Elm
15 lines
296 B
Elm
|
|
||
|
module Window where
|
||
|
|
||
|
import Native.Window
|
||
|
|
||
|
-- The current dimensions of the window (i.e. the area viewable to the
|
||
|
-- user, not including scroll bars).
|
||
|
dimensions : Signal (Int,Int)
|
||
|
|
||
|
-- The current width of the window.
|
||
|
width : Signal Int
|
||
|
|
||
|
-- The current height of the window.
|
||
|
height : Signal Int
|