Module
PsSpa.Html
- Package
- purescript-ps-spa
- Repository
- the-man-with-a-golden-mind/ps-spa
#buttonType Source
buttonType :: forall msg. ButtonType -> Attribute msg#keyed Source
keyed :: forall msg. String -> Array (Attribute msg) -> Array (Tuple String (Html msg)) -> Html msgA keyed container element. Children are paired with stable string keys; the renderer matches them by key across rerenders, so reordering preserves DOM identity (focus, scroll position, listener state) instead of rebuilding siblings positionally.
#onDoubleClick Source
onDoubleClick :: forall msg. msg -> Attribute msg#onEvent Source
onEvent :: forall msg. String -> (EventValue -> msg) -> Attribute msgGeneric event handler. Use the more specific helpers below where they
exist; reach for onEvent only when adding a handler we don't ship.
#onMouseEnter Source
onMouseEnter :: forall msg. msg -> Attribute msg#onMouseLeave Source
onMouseLeave :: forall msg. msg -> Attribute msg