Open zhoukekestar opened 2 years ago
See the example.
<script src="https://gw.alipayobjects.com/os/lib/webcomponents/webcomponentsjs/2.6.0/webcomponents-bundle.js"></script> <div id="shadowHost"></div> <script> shadowHost.attachShadow({mode:'open'}).innerHTML = '<div></div>'; (new MutationObserver(function (mutationsList) { console.info('mutated'); })).observe(shadowHost.shadowRoot, { childList: true }); shadowHost.shadowRoot.appendChild(document.createElement('div')); </script>
see the example
No Error
NotFoundError
@webcomponents/webcomponentsjs@2.6.0
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
See the example.
Example
Steps to reproduce
see the example
Expected behavior
No Error
Actual behavior
NotFoundError
Version
@webcomponents/webcomponentsjs@2.6.0
Browsers affected