* @private
()
| 444 | * @private |
| 445 | */ |
| 446 | _startObservingDOMChildren() { |
| 447 | const ctor = this.constructor as typeof UI5Element; |
| 448 | const metadata = ctor.getMetadata(); |
| 449 | const shouldObserveChildren = metadata.hasSlots(); |
| 450 | |
| 451 | if (!shouldObserveChildren) { |
| 452 | return; |
| 453 | } |
| 454 | |
| 455 | const canSlotText = metadata.canSlotText(); |
| 456 | const mutationObserverOptions = { |
| 457 | childList: true, |
| 458 | subtree: canSlotText, |
| 459 | characterData: canSlotText, |
| 460 | }; |
| 461 | observeDOMNode(this, this._processChildren.bind(this) as MutationCallback, mutationObserverOptions); |
| 462 | } |
| 463 | |
| 464 | /** |
| 465 | * @private |
nothing calls this directly
no test coverage detected
searching dependent graphs…