Loading TOC...

PatchBuilderPlan functions (Optic PatchBuilderPlan Object)

For the complete list of functions and categories in this namespace, refer to the main PatchBuilderPlan functions page.

8 functions
Function name Description
PatchBuilderPlan.prototype.insertAfter Insert a new node after another node.
PatchBuilderPlan.prototype.insertBefore Insert a new node before another node.
PatchBuilderPlan.prototype.insertChild Insert a node as child.
PatchBuilderPlan.prototype.insertNamedChild This method is specific for JSON and inserts a key/value pair to an object.
PatchBuilderPlan.prototype.remove Delete a node.
PatchBuilderPlan.prototype.replace Replace a node with another node.
PatchBuilderPlan.prototype.replaceInsertChild Replace a child if it exist, or insert if it does not exist.
PatchBuilderPlan.prototype.replaceValue Replace the value of a path with a new value.