@usecsv/react 0.0.1 → 0.0.2

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @usecsv/react v0.0.1
2
+ * @usecsv/react v0.0.2
3
3
  * (c) layercode
4
4
  * Released under the MIT License.
5
5
  */
@@ -11,7 +11,7 @@
11
11
  })(this, (function () { 'use strict';
12
12
 
13
13
  /*!
14
- * @usecsv/js v0.0.11
14
+ * @usecsv/js v0.0.12
15
15
  * (c) layercode
16
16
  * Released under the MIT License.
17
17
  */
@@ -583,6 +583,12 @@
583
583
  var iframe = insertIframe(id);
584
584
  var iframeConnection = connectToChild({
585
585
  iframe: iframe,
586
+ methods: {
587
+ closeIframe: function () {
588
+ var _a;
589
+ (_a = document.getElementById(id)) === null || _a === void 0 ? void 0 : _a.remove();
590
+ },
591
+ },
586
592
  });
587
593
  iframeConnection.promise.then(function (child) {
588
594
  var _a;