abadi199/elm-creditcard/2.0.0

NOTE: this package is not compatible with Elm 0.19.1

CreditCard.Update

Update functions and Msg.

Message

type Msg
= NoOp
| UpdateNumber Msg
| UpdateName Msg
| UpdateExpirationMonth Msg
| UpdateExpirationYear Msg
| UpdateCCV Msg
| Flip Bool

A union type representing The Elm Architect's Msg

Update functions

update : Msg -> Model Msg -> ( Model Msg, Cmd Msg )

The Elm Architect's update function.