1 | <template>
|
2 | <div class="mint-swipe-item">
|
3 | <slot></slot>
|
4 | </div>
|
5 | </template>
|
6 |
|
7 | <script>
|
8 | export default {
|
9 | name: 'mt-swipe-item',
|
10 |
|
11 | mounted() {
|
12 | this.$parent && this.$parent.swipeItemCreated(this);
|
13 | },
|
14 |
|
15 | destroyed() {
|
16 | this.$parent && this.$parent.swipeItemDestroyed(this);
|
17 | }
|
18 | };
|
19 | </script>
|