This is a module useful when you want to make a inputText has the limited number of characters (not words).
newConfig : { classPrefix : String, maxLength : Basics.Int } -> Config
With this function, you can make a Config. And then you can put it in the following view function.
config = newConfig {classPrefix = "message", maxLength = 400 }
view : Config -> String -> (String -> msg) -> List (Html.Attribute msg) -> List (Html msg) -> Html msg
Add a msg to receive a text which is input. And you can add attrs and elements if needed.