A simple example showing using the Window package.
NOTE! The author has archived this repository.
A simple program showing how to set up using the Window package by showing the window dimensions in pixels as you resize the application's window.
I've implemented a Main.elm
file to mimic how this would be
organized in a typical Elm program.
Install elm 0.18 if you haven't done so already.
Remaining instructions presume installing under OSX:
git clone git@github.com:oldfartdeveloper/elm-window-example.git
cd elm-window-example
elm make
elm reactor
Then browse http://localhost:8000/Main.elm and resize the window to your heart's content.
- The Elm core team. Elm rocks!