Module

Specular.Dom.Builder.Class

Package
purescript-specular
Repository
restaumatic/purescript-specular

#BuilderEnv Source

type BuilderEnv env = { cleanup :: DelayedEffects, parent :: Node, userEnv :: env }

#MonadDomBuilder Source

class MonadDomBuilder :: (Type -> Type) -> Constraintclass (Monad m) <= MonadDomBuilder m  where

Members

Instances

#elDynAttr' Source

elDynAttr' :: forall m a. MonadDomBuilder m => String -> WeakDynamic Attrs -> m a -> m (Tuple Node a)

#elDynAttr Source

elDynAttr :: forall m a. MonadDomBuilder m => String -> WeakDynamic Attrs -> m a -> m a

#elAttr' Source

elAttr' :: forall m a. MonadDomBuilder m => String -> Attrs -> m a -> m (Tuple Node a)

#elAttr_ Source

elAttr_ :: forall m. MonadDomBuilder m => String -> Attrs -> m Unit

#el' Source

el' :: forall m a. MonadDomBuilder m => String -> m a -> m (Tuple Node a)

#el Source

el :: forall m a. MonadDomBuilder m => String -> m a -> m a

#el_ Source

el_ :: forall m. MonadDomBuilder m => String -> m Unit

#dynRawHtml Source

#domEventWithSample Source

domEventWithSample :: forall m a. MonadFRP m => (Event -> Effect a) -> EventType -> Node -> m (Event a)

#domEvent Source

domEvent :: forall m. MonadFRP m => EventType -> Node -> m (Event Unit)

#onDomEvent Source

onDomEvent :: forall m. MonadFRP m => EventType -> Node -> (Event -> Effect Unit) -> m Unit

Register a DOM event listener.