NoRedInk/noredink-ui/31.0.0

NOTE: the latest version is 35.9.3

Nri.Ui.Html.V3

viewJust : (a -> Html msg) -> Maybe a -> Html msg

View value of if Maybe is a Just, otherwise show nothing.

viewIf : (() -> Html msg) -> Bool -> Html msg
{ preventDefault : Bool
, stopPropagation : Bool
}
-> (Int -> Maybe a)
-> Attribute a

Convert a keycode into a message on keyup

{ preventDefault : Bool
, stopPropagation : Bool
}

Modules