A Rating for Elm
defaultModel : Model
The type representing messages that are passed inside the Rating.
update : Msg -> Model -> ( Model, Platform.Cmd.Cmd Msg )
Simple Update for the do work.
view : Model -> Html Msg
Simple View
{ rating : Maybe Basics.Int
, quantity : Basics.Int
, svgDefault : Svg Msg
, svgSelected : Svg Msg
, svgOver : Svg Msg
, svgParentAtributes : List ( String
, String )
, svgParentClass : List ( String
, Basics.Bool )
, ratingPercent : Basics.Float
, isOver : Basics.Bool
, ratingOver : Maybe Basics.Int
, readOnly : Basics.Bool
}
The type of The Rating.