Module

Tecton.Halogen.Internal

Package
purescript-tecton-halogen
Repository
nsaunders/purescript-tecton-halogen

#(&.) Source

Operator alias for Tecton.Halogen.Internal.byClass (left-associative / precedence 7)

#byClass Source

byClass :: forall selector. IsExtensibleSelector selector => ToVal selector => selector -> ClassName -> Selector Extensible

Appends a class name to the end of a selector.

#style Source

style :: forall ps p i. Writer (List Declaration') ps -> IProp (style :: String | p) i

Renders declarations as an inline style, e.g.

HH.header
  [ CSS.style Rule.do
      width := pct 100
      height := px 64
  ]
  [ ... ]

#styleSheet Source

styleSheet :: forall p i. CSS -> HTML p i

Creates a style element with the specified style sheet rendered as its text content.