Module

Pux.DOM.HTML.Attributes

Package
purescript-pux
Repository
alexmingoia/purescript-pux

#data_ Source

data_ :: String -> String -> Attribute

An attribute prefixed with "data-".

#focused Source

focused :: Attribute

Control cursor focus declaratively. Whichever element has this attribute will be focused after rendering if it was not already focused.

#key Source

key :: String -> Attribute

Key attribute for improved rendering performance. See: https://facebook.github.io/react/docs/lists-and-keys.html

#style Source

style :: CSS -> Attribute

Render inline CSS and return a style attribute.