Module

DOM.Simple.Types

Package
purescript-dom-simple
Repository
garganscript/purescript-dom-simple

#IsParent Source

class IsParent :: forall k. k -> Constraintclass (IsNode n) <= IsParent n 

Parent nodes may contain children

Instances

#IsChild Source

class IsChild :: forall k. k -> Constraintclass (IsNode n) <= IsChild n 

A child node may occur within a parent

Instances

#IsElement Source

class IsElement :: forall k. k -> Constraintclass (IsNode n) <= IsElement n 

Instances

#IsSibling Source

class IsSibling :: forall k. k -> Constraintclass (IsNode n) <= IsSibling n 

A Node which can have siblings (i.e. elements and cdata)

Instances

#DOMRect Source

type DOMRect = { bottom :: Number, height :: Number, left :: Number, right :: Number, top :: Number, width :: Number, x :: Number, y :: Number }