← all modules
Std.Html.Events
Std.Html.Events
Std.Html.Events — typed DOM event handlers for Std.Html (Layer 3 Sky source).
Values
fileMaxHeight : Int -> Attribute msg
fileMaxSize : Int -> Attribute msg
These are plain attributes the upload side-channel reads — not
fileMaxWidth : Int -> Attribute msg
on : String -> a -> Attribute msg
Generic escape hatch: bind any DOM event name to a handler.
onBlur : msg -> Attribute msg
onChange : (String -> msg) -> Attribute msg
onCheck : (Bool -> msg) -> Attribute msg
onClick : msg -> Attribute msg
onDblClick : msg -> Attribute msg
onEnter : msg -> Attribute msg
Fire a Msg when the user presses Enter WITHOUT Shift. Shift-Enter is
onError : msg -> Attribute msg
onFile : (String -> msg) -> Attribute msg
The renderer routes `sky-`-prefixed event names through the
onFocus : msg -> Attribute msg
onImage : (String -> msg) -> Attribute msg
onInput : (String -> msg) -> Attribute msg
onIslandEvent : String -> Decoder a -> (a -> msg) -> Attribute msg
`onIslandEvent type decoder toMsg` — the event a widget island sends
onKeyDown : (String -> msg) -> Attribute msg
onKeyPress : (String -> msg) -> Attribute msg
onKeyUp : (String -> msg) -> Attribute msg
onLoad : msg -> Attribute msg
onMouseDown : msg -> Attribute msg
onMouseOut : msg -> Attribute msg
onMouseOver : msg -> Attribute msg
onMouseUp : msg -> Attribute msg
onReset : msg -> Attribute msg
onScroll : msg -> Attribute msg
onSelect : msg -> Attribute msg
onSubmit : a -> Attribute msg
`onSubmit` accepts a plain Msg OR a `(formData -> Msg)` handler