interface ReplaceByChildrenConfig {
    direction?: "toData" | "toView";
    localName: string;
    priority?: PriorityString;
}

Properties

direction?: "toData" | "toView"

Direction can go only into one direction. As any information on the removed element is lost, it cannot be bijective.

localName: string
priority?: PriorityString