Custom Element Web Component Shadow DOM Vendor Scripts/Elements
问题 When working with Custom Elements that leverage Shadow DOM, what is the official approach to injecting 3rd party scripts and elements such as Invisible reCAPTCHA which require scripts such: <script src="https://www.google.com/recaptcha/api.js" async defer></script>` for HTML elements such as a <button> to be leaded and reCAPTCHA to be rendered? shadowRoot doesn't seem to have anything like head , is the script supposed to be added to the created template 's innerHTML ? Or is a <script> to be