Skip to content
Snippets Groups Projects
  1. Apr 13, 2022
    • Reiter, Christoph's avatar
      Remove getShadowRootDocument() again · 8cb65ce4
      Reiter, Christoph authored
      This was used to create HTML elements for a shadow dom, but this
      is now provided by the scoped-elements mixin via this.createScopedElement().
      
      One way to handle this is enough, so remove this again.
      All users have been ported already.
      8cb65ce4
  2. Feb 07, 2022
    • Reiter, Christoph's avatar
      Add getShadowRootDocument() helper · 9a638b18
      Reiter, Christoph authored
      In case the scoped registry polyfill is loaded we need to create
      elements inside of the shadowroot.
      
      getShadowRootDocument() returns the polyfilled shadowroot, or in case
      the polyfill is not loaded just return the global document, which works
      in case there are no scoped registries.
      
      In case we get something like https://github.com/open-wc/open-wc/pull/2389
      this will be usefull. Also it makes IDE completion work + eslint.
      9a638b18
  3. Feb 02, 2022
  4. Nov 30, 2021
    • Reiter, Christoph's avatar
      common: add combineURLs() helper · 81eef212
      Reiter, Christoph authored
      This combines URLs similar to an URL join, but assumes the
      base URL is the root path instead of the host.
      
      This is useful for combining API paths with API server entry points.
      81eef212
Loading