Created
May 15, 2017 12:36
-
-
Save leojpod/9e27963a074b29dd3694ca50336c64ce to your computer and use it in GitHub Desktop.
elm-mdl update
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
update : Msg -> Model -> ( Model, Cmd Msg ) | |
update msg model = | |
case msg of | |
... -- rest of our apps messages | |
Mdl mdlMsg -> | |
Material.update Mdl mdlMsg model |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment