NOTE: the latest version is 27.0.14
Module to add Buttons to your app
Type hint buttons
type alias model = { headerTitle : String , headerButtons : List (Button Msg) }
Init a button
Init a button if True
Set the text
Set an icon
Fire a Msg when clicked
Open a href url when clicked
Make the button small
Display as loading, removing the click Msg
Display as disabled, removing the click Msg
Style it green
Style it red
Render the button
Type hint buttons