@magicgol/polyjuice 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicgol/polyjuice",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -3,6 +3,7 @@
3
3
  class="d-inline-flex text-center text-decoration-none rounded"
4
4
  :class="classes"
5
5
  :active="active"
6
+ @click="onClick"
6
7
  >
7
8
  <slot></slot>
8
9
  </div>
@@ -27,6 +28,12 @@ export default {
27
28
  };
28
29
  }
29
30
  },
31
+
32
+ methods: {
33
+ onClick() {
34
+ this.$emit('click');
35
+ },
36
+ },
30
37
  };
31
38
  </script>
32
39