Module

DOM.Simple.Child

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

#remove Source

remove :: forall n. IsChild n => n -> Effect Unit

Unhook the current node from its parent

#before Source

before :: forall n. IsChild n => n -> Array Element -> Effect Unit

Prepend some elements before the current node

#after Source

after :: forall n. IsChild n => n -> Array Element -> Effect Unit

Append some elements after the current node

#replaceWith Source

replaceWith :: forall n. IsChild n => n -> Array Element -> Effect Unit

Replace the current node with some others