Last active
January 23, 2019 23:03
-
-
Save gerardtoconnor/06f9746fc006be642d07ce90b4af17f0 to your computer and use it in GitHub Desktop.
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
let MyView model = | |
stackPanel { | |
children [ | |
label { content "FontSize is:" } | |
label { content <@ model.FontSize @> ; fontSize <@ model.FontSize @> } | |
button { | |
content "Increase Font Size" | |
onClick (<@ model.FontSize @> ,fun _ _ -> model.FontSize + 2.) } | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment