Element.opOpAssign

Append a complete element to the interior of this element

  1. void opOpAssign(Text item)
  2. void opOpAssign(CData item)
  3. void opOpAssign(Comment item)
  4. void opOpAssign(ProcessingInstruction item)
  5. void opOpAssign(Element item)
    class Element
    @safe pure
    void
    opOpAssign
    (
    string op
    )
    if (
    op == "~"
    )

Parameters

item Element

the item you wish to append.

Examples

Element element;
Element other = new Element("br");
element ~= other;
   // appends element representing <br />

Meta