Created
May 15, 2017 09:48
-
-
Save leojpod/233773de4f1b44c449165c5af4bea4b3 to your computer and use it in GitHub Desktop.
elm-mdl model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias Model = | |
{ ... -- your usual model definition goes here | |
, mdl : | |
Material.Model | |
-- use elm-mdl's definition of their model | |
} | |
model : Model | |
model = | |
{ ... -- your initialization goes here | |
, mdl = | |
Material.model | |
-- use elm-mdl's initial setup of the model | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment