in progress

This commit is contained in:
jfh
2020-10-24 18:38:34 +02:00
parent bc21386cb6
commit ea4a33dc83
37 changed files with 401 additions and 957 deletions

View File

@@ -1 +1 @@
import './ToolButton.js';
import './seButton.js';

View File

@@ -48,7 +48,7 @@ export class ToolButton extends HTMLElement {
constructor () {
super();
// create the shadowDom and insert the template
this._shadowRoot = this.attachShadow({mode: 'closed'});
this._shadowRoot = this.attachShadow({mode: 'open'});
this._shadowRoot.appendChild(template.content.cloneNode(true));
// locate the component
this.$div = this._shadowRoot.querySelector('div');
@@ -195,4 +195,4 @@ export class ToolButton extends HTMLElement {
}
// Register
customElements.define('tool-button', ToolButton);
customElements.define('se-button', ToolButton);