|
|
@ -115,7 +115,7 @@ export function init(component, options, instance, create_fragment, not_equal, p
|
|
|
|
export let SvelteElement;
|
|
|
|
export let SvelteElement;
|
|
|
|
if (typeof HTMLElement !== 'undefined') {
|
|
|
|
if (typeof HTMLElement !== 'undefined') {
|
|
|
|
SvelteElement = class extends HTMLElement {
|
|
|
|
SvelteElement = class extends HTMLElement {
|
|
|
|
constructor({ use_shadow_dom = true } = {}) {
|
|
|
|
constructor({ use_shadow_dom = true } = { use_shadow_dom: true }) {
|
|
|
|
super();
|
|
|
|
super();
|
|
|
|
if (use_shadow_dom) {
|
|
|
|
if (use_shadow_dom) {
|
|
|
|
this.attachShadow({ mode: 'open' });
|
|
|
|
this.attachShadow({ mode: 'open' });
|
|
|
|