@plattar/plattar-ar-adapter 1.167.1 → 1.167.3

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.
@@ -1885,7 +1885,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1885
1885
  key: "removeRenderer",
1886
1886
  value: function removeRenderer() {
1887
1887
  if (this._element) {
1888
- this._element.remove();
1888
+ this.removeChild(this._element);
1889
1889
  this._element = null;
1890
1890
  return true;
1891
1891
  }
@@ -2286,6 +2286,18 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2286
2286
  });
2287
2287
  shadow.append(element);
2288
2288
  }
2289
+ /**
2290
+ *
2291
+ * @param element
2292
+ */
2293
+ }, {
2294
+ key: "removeChild",
2295
+ value: function removeChild(element) {
2296
+ var shadow = this.parent.shadowRoot;
2297
+ if (shadow) {
2298
+ shadow.removeChild(element);
2299
+ }
2300
+ }
2289
2301
  }]);
2290
2302
  return PlattarController;
2291
2303
  }();
@@ -2573,7 +2585,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2573
2585
  key: "removeRenderer",
2574
2586
  value: function removeRenderer() {
2575
2587
  if (this._element) {
2576
- this._element.remove();
2588
+ this.removeChild(this._element);
2577
2589
  this._element = null;
2578
2590
  return true;
2579
2591
  }
@@ -3038,7 +3050,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
3038
3050
  key: "removeRenderer",
3039
3051
  value: function removeRenderer() {
3040
3052
  if (this._element) {
3041
- this._element.remove();
3053
+ this.removeChild(this._element);
3042
3054
  this._element = null;
3043
3055
  return true;
3044
3056
  }
@@ -4200,7 +4212,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
4200
4212
  Object.defineProperty(exports, "__esModule", {
4201
4213
  value: true
4202
4214
  });
4203
- exports["default"] = "1.167.1";
4215
+ exports["default"] = "1.167.3";
4204
4216
  }, {}],
4205
4217
  17: [function (require, module, exports) {
4206
4218
  "use strict";