Module

Panda.HTML.Elements

Package
purescript-panda
Repository
i-am-tom/purescript-panda

#Element Source

type Element = forall event state update eff. Array (Property update state event) -> Children eff update state event -> Component eff update state event

A regular element.

#StaticElement Source

type StaticElement = forall event state update eff. Array (Property update state event) -> Array (Component eff update state event) -> Component eff update state event

An element whose immediate children definitely don't respond to updates.

#SelfClosingElement Source

type SelfClosingElement = forall event state update eff. Array (Property update state event) -> Component eff update state event

An element that, according to the HTML spec, is not a container.

#SelfClosingElementWithoutProperties Source

type SelfClosingElementWithoutProperties = forall event state update eff. Component eff update state event

A non-container element that has no custom properties.

#ElementWithoutProperties Source

type ElementWithoutProperties = forall event state update eff. Children eff update state event -> Component eff update state event

An element with no specified properties.

#StaticElementWithoutProperties Source

type StaticElementWithoutProperties = forall event state update eff. Array (Component eff update state event) -> Component eff update state event

An element with no specified properties and fixed children.

#text Source

text :: forall event state update eff. String -> Component eff update state event