ninegrid2 6.598.0 → 6.599.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/TestGrid.js CHANGED
@@ -1,12 +1,14 @@
1
1
  export class TestGrid extends HTMLElement
2
2
  {
3
3
  constructor() {
4
+ super();
5
+ this.attachShadow({ mode: "open" });
4
6
  }
5
7
 
6
8
  connectedCallback() {
7
9
 
8
- this.innerHTML = `
9
- <span>111</span>
10
+ this.shadowRoot.innerHTML = `
11
+ 11111
10
12
  `;
11
13
  }
12
14
 
@@ -3,12 +3,14 @@
3
3
  class TestGrid extends HTMLElement
4
4
  {
5
5
  constructor() {
6
+ super();
7
+ this.attachShadow({ mode: "open" });
6
8
  }
7
9
 
8
10
  connectedCallback() {
9
11
 
10
- this.innerHTML = `
11
- <span>111</span>
12
+ this.shadowRoot.innerHTML = `
13
+ 11111
12
14
  `;
13
15
  }
14
16
 
@@ -1,12 +1,14 @@
1
1
  class TestGrid extends HTMLElement
2
2
  {
3
3
  constructor() {
4
+ super();
5
+ this.attachShadow({ mode: "open" });
4
6
  }
5
7
 
6
8
  connectedCallback() {
7
9
 
8
- this.innerHTML = `
9
- <span>111</span>
10
+ this.shadowRoot.innerHTML = `
11
+ 11111
10
12
  `;
11
13
  }
12
14
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.598.0",
4
+ "version": "6.599.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
package/src/TestGrid.js CHANGED
@@ -1,12 +1,14 @@
1
1
  export class TestGrid extends HTMLElement
2
2
  {
3
3
  constructor() {
4
+ super();
5
+ this.attachShadow({ mode: "open" });
4
6
  }
5
7
 
6
8
  connectedCallback() {
7
9
 
8
- this.innerHTML = `
9
- <span>111</span>
10
+ this.shadowRoot.innerHTML = `
11
+ 11111
10
12
  `;
11
13
  }
12
14