tamper-0.4.2.2: Blaze-style HTML templates as a Monad Transformer.

Safe HaskellNone
LanguageHaskell2010

Text.Tamper.DOM

Synopsis

Documentation

data NodeList t Source

A list of DOM nodes.

Instances

Eq t => Eq (NodeList t) 
Ord t => Ord (NodeList t) 
Show t => Show (NodeList t) 
Monoid (NodeList t) 

data Node t Source

Instances

Eq t => Eq (Node t) 
Ord t => Ord (Node t) 
Show t => Show (Node t) 

textNode :: t -> Node t Source

setAttr :: Ord t => t -> t -> Node t -> Node t Source

getAttr :: Ord t => t -> Node t -> Maybe t Source

getAttrDef :: Ord t => t -> t -> Node t -> t Source