get registry() {
      return /** @type {typeof ScopedElementsHost} */ (this.constructor).__registry;
    }
Obtains the CustomElementRegistry associated to the ShadowRoot.

@returns {CustomElementRegistry=}