Module
Concur.Core.ElementBuilder
- Package
- purescript-concur-core
- Repository
- purescript-concur/purescript-concur-core
#ElementBuilder Source
class ElementBuilder e f p v | v -> e, v -> f, v -> p where
A View backend that can build nodes e, f, p, v, are all raw types, highly specific to the backend e == type of element (e.g. 'div') f == props container (for example, an array) p == a single prop v == the monoidal view
Members
Instances
ElementBuilder e f p (Element e f p)
#Element Source
data Element e f p
A "Freeish" implementation of element builder That fixes the type of view
Constructors
NodeElement e (f p) (Element e f p)
LeafElement e (f p)
Instances
ElementBuilder e f p (Element e f p)