classcard-ui 0.2.990 → 0.2.992
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/classcard-ui.common.js +66 -61
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +66 -61
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CMultiselect/CMultiselect.vue +9 -9
package/package.json
CHANGED
|
@@ -406,23 +406,23 @@ export default {
|
|
|
406
406
|
this.emitLoadNextPage();
|
|
407
407
|
}
|
|
408
408
|
},
|
|
409
|
+
// a function that will set the location when the component has mounted and the location is passed after that
|
|
410
|
+
forceSetData(params) {
|
|
411
|
+
this.value = params;
|
|
412
|
+
},
|
|
409
413
|
emitLoadNextPage: debounce(function () {
|
|
410
414
|
this.$emit("loadNextPage");
|
|
411
415
|
}, 300),
|
|
412
416
|
},
|
|
413
417
|
watch: {
|
|
414
|
-
optionsSelected
|
|
415
|
-
|
|
416
|
-
|
|
418
|
+
optionsSelected: {
|
|
419
|
+
handler() {
|
|
420
|
+
this.value = this.optionsSelected;
|
|
421
|
+
},
|
|
422
|
+
deep: true,
|
|
417
423
|
},
|
|
418
424
|
},
|
|
419
425
|
mounted() {
|
|
420
|
-
console.log(
|
|
421
|
-
"this is value on mounted",
|
|
422
|
-
this.value,
|
|
423
|
-
"this.optionsSelected",
|
|
424
|
-
this.optionsSelected
|
|
425
|
-
);
|
|
426
426
|
this.observer = new IntersectionObserver(this.infiniteScroll);
|
|
427
427
|
},
|
|
428
428
|
};
|