Tooltip.import Html
import Prima.Pyxis.Tooltip as Tooltip
...
type Msg =
NoOp
type alias Model =
{}
...
view : Html Msg
view =
Html.div
[]
(Tooltip.topConfig []
|> Tooltip.withClass ""
)
validate : String -> Validation.Type
validate str =
if String.isEmpty str then
Just <| Validation.ErrorWithMessage "Username is empty".
else
Nothing
Represent the opaque
Tooltipconfiguration.