Is it possible to pass $route
as a parameter to a function?
<v-btn color="info" v-on:click="getProximo('this.$route')">
Próximo
</v-btn>
I need to get a parameter that is in $route
, but when I use this.$route.params.NomeParametro
inside function getProximo()
does not work, would I have to pass as parameter when calling function in click
of button?