Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

oldfartdeveloper/elm-window-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-window-example

A simple example showing using the Window package.

NOTE! The author has archived this repository.

Overview

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.

Installation

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.

Thanks to

  • The Elm core team. Elm rocks!

About

Example use of the Elm 'Window' package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages