classcard-ui 0.2.849 → 0.2.850

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classcard-ui",
3
- "version": "0.2.849",
3
+ "version": "0.2.850",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -444,7 +444,6 @@ export default {
444
444
  sortable.on("sortable:stop", (e) => this.rearrange(e.oldIndex, e.newIndex));
445
445
  document.addEventListener("keydown", this.handleControlClick, true);
446
446
  document.addEventListener("keyup", this.handleControlRelease, true);
447
- this.$refs["my-table"].expandAll();
448
447
  },
449
448
  destroyed() {
450
449
  //to remove the event listener
@@ -577,6 +576,13 @@ export default {
577
576
  this.reorderedArray = newValue;
578
577
  }
579
578
  },
579
+ enableGrouping: {
580
+ handler(value) {
581
+ if (value == true) {
582
+ this.$refs["my-table"].expandAll();
583
+ }
584
+ },
585
+ },
580
586
  },
581
587
  };
582
588
  </script>