Type: Function

Collapses the given element (i.e., replaces it with its children) without validation.

Should not be used directly. The "unsafe" part in this function only refers to the fact that the function does not do any validation, in contrast to primitives that always guarantee a schema-valid result on an unmodified blueprint.


  1. parentNode


    Type: Node

    Parent node to collapse into, should be the element's direct parent.

  2. elementToCollapse


    Type: Node

    The element to collapse

  3. blueprint


    Type: Blueprint

    The blueprint in which to perform the operation