Module

Halogen.VDom.StringRenderer

Package
purescript-halogen-vdom-string-renderer
Repository
purescript-halogen/purescript-halogen-vdom-string-renderer

#render Source

render :: forall attrs widget. (ElemName -> TagType) -> (attrs -> String) -> (widget -> String) -> VDom attrs widget -> String

Renders a VDom tree to a string using the specified tag type scheme, attribute renderer, and widget renderer.

#TagType Source

data TagType

Type used to determine whether an element can be rendered as self-closing element, for example, "<br/>".

Constructors

Instances