isobit-ui 0.2.174 → 0.2.176
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/index.js +11 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.2.
|
|
2
|
+
* isobit-ui v0.2.175
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1069,6 +1069,11 @@ var script$j = {
|
|
|
1069
1069
|
this.setTitle(v);
|
|
1070
1070
|
}
|
|
1071
1071
|
},
|
|
1072
|
+
data: function data() {
|
|
1073
|
+
return {
|
|
1074
|
+
timer: null
|
|
1075
|
+
};
|
|
1076
|
+
},
|
|
1072
1077
|
methods: {
|
|
1073
1078
|
setTitle: function setTitle(v) {
|
|
1074
1079
|
var me = this,
|
|
@@ -1091,10 +1096,10 @@ var script$j = {
|
|
|
1091
1096
|
h = e.height;
|
|
1092
1097
|
el.style.height = h + "px";
|
|
1093
1098
|
//si tiene header
|
|
1094
|
-
|
|
1099
|
+
if (me.timer) clearTimeout(me.timer);
|
|
1095
1100
|
|
|
1096
1101
|
// Set a new timer to run the function 'handleResize' after a specific delay (e.g., 500 milliseconds)
|
|
1097
|
-
setTimeout(function () {
|
|
1102
|
+
me.timer = setTimeout(function () {
|
|
1098
1103
|
if (el.children[1]) {
|
|
1099
1104
|
console.log(el.children[0].textContent);
|
|
1100
1105
|
console.log(el.children[0]);
|
|
@@ -1159,6 +1164,9 @@ var script$j = {
|
|
|
1159
1164
|
}
|
|
1160
1165
|
});
|
|
1161
1166
|
},
|
|
1167
|
+
beforeUnmount: function beforeUnmount() {
|
|
1168
|
+
console.log('unmounted');
|
|
1169
|
+
},
|
|
1162
1170
|
updated: function updated() {
|
|
1163
1171
|
var _this = this;
|
|
1164
1172
|
var me = this;
|