(elt, content)
| 456 | } |
| 457 | |
| 458 | morph(elt, content) { |
| 459 | this.#morphEngine.morph(elt, content, { |
| 460 | beforeNodeRemoved: (node) => { |
| 461 | if (node.nodeType === 1) this.cleanup(node); |
| 462 | }, |
| 463 | afterNodeAdded: (node) => { |
| 464 | if (node.nodeType === 1) this.processNode(node); |
| 465 | }, |
| 466 | afterNodeMorphed: (node) => { |
| 467 | if (node.nodeType === 1) this.processNode(node); |
| 468 | } |
| 469 | }); |
| 470 | } |
| 471 | |
| 472 | replaceInDom(target, value) { |
| 473 | this.implicitLoop(target, (elt) => { |
nothing calls this directly
no test coverage detected