AECC database project.

feat(components): Added include component.

+8
+8
lib/components.js
··· 1 + class includeThingamabob extends HTMLElement { 2 + connectedCallback() { 3 + const src = this.getAttribute("src"); 4 + fetch(src).then(response => response.text()).then(data => this.outerHTML = data); 5 + } 6 + } 7 + 8 + customElements.define("include-thingamabob", includeThingamabob);