Files
ionic-framework/vue/src/components/ion-vue-router-transitionless.vue
2018-10-10 17:04:33 -04:00

22 lines
376 B
Vue

<template>
<div @click="catchIonicGoBack">
<router-view :name="name"/>
</div>
</template>
<script>
import catchIonicGoBack from '../mixins/catch-ionic-go-back.js'
export default {
name: 'IonVueRouter',
mixins: [catchIonicGoBack],
props: {
// A name to call "named views" by
name: {
type: String,
default: 'default',
},
},
}
</script>