on master help sign in
Make Window work
commit7d00618169c51aeeb88cde762f492e4056864036 authorEvan Czaplicki <info@elm-lang.org> dateFri 26 Jul 2013, 17:36 (13 years ago) parent2a5bee0
1 file changed+4−1
libraries/Window.elm+4−1
libraries/Window.elm+4−1
@@ -1,14 +1,17 @@
11
22module Window where
33
4−import Native.Window as W
4+import Native.Window as Native
55
66-- The current dimensions of the window (i.e. the area viewable to the
77-- user, not including scroll bars).
88dimensions : Signal (Int,Int)
9+dimensions = Native.dimensions
910
1011-- The current width of the window.
1112width : Signal Int
13+width = Native.width
1214
1315-- The current height of the window.
1416height : Signal Int
17+height = Native.height