@iamproperty/components 2.3.1 → 2.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iamproperty/components",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "private": false,
5
5
  "description": "Component library for iamproperty",
6
6
  "author": {
@@ -23,7 +23,7 @@ export default {
23
23
  required: false
24
24
  },
25
25
  badge: {
26
- type: String,
26
+ type: [Number, String],
27
27
  required: false
28
28
  },
29
29
  badgecolour: {
@@ -53,3 +53,10 @@ this.$el.addEventListener('sorted', function (e) {
53
53
  console.log('Table sorted')
54
54
  }, false);
55
55
  ```
56
+
57
+ // Re-ordered via drag and drop
58
+ this.$el.addEventListener('reordered', function (e) {
59
+
60
+ console.log('Table re-ordered')
61
+ }, false);
62
+ ```