Opens a shadow root bound to registry when scoped registries are supported, so elements created inside resolve against that registry. Falls back to a plain attachShadow(init) where unsupported.
registry
attachShadow(init)
Opens a shadow root bound to
registrywhen scoped registries are supported, so elements created inside resolve against that registry. Falls back to a plainattachShadow(init)where unsupported.