Element.outerHTML

Replaces this node with the given html string, which is parsed

Note: this invalidates the this reference, since it is removed from the tree.

Returns the new children that replace this.

  1. string outerHTML [@property setter]
    class Element
    @property
    outerHTML
    (
    string html
    )
  2. string outerHTML [@property getter]

Meta