Module

OutWatch.Dom.VDomModifier

Package
purescript-outwatch
Repository
OutWatch/purescript-outwatch

#VTree Source

type VTree e = { attributes :: VNodeData e, changables :: Observable (Tuple (List Attribute) (List (VNode e))), children :: Array (VNode e), nodeType :: String }

#VNode Source

data VNode e

Constructors

#Attribute Source

type Attribute = { name :: String, value :: String }

#InsertHook Source

#DestroyHook Source

#ChildStreamReceiver Source

#ChildrenStreamReceiver Source

#AttributeStreamReceiver Source

type AttributeStreamReceiver = { attr :: String, stream :: Observable Attribute }

#EmitterRepr Source

type EmitterRepr e a = { event :: String, sink :: Observer e a }

#ConstantEmitterRepr Source

type ConstantEmitterRepr a e = { constant :: a, emitter :: EmitterRepr e a }

#toProxy Source

toProxy :: forall e. VNode e -> VNodeProxy e