2
It is possible to pass $route
as a parameter for a function?
<v-btn color="info" v-on:click="getProximo('this.$route')">
Próximo
</v-btn>
I need to get a parameter that’s in $route
, but while using this.$route.params.NomeParametro
within the function getProximo()
does not work, would pass as parameter when calling the function in the click
button?
Forehead only
v-on:click="getProximo($route)">
– Sergio
@Sergio worked!!
– MeuChapeu