framework7

Open full view…

Pass parameter in URL

satie
Sun, 19 Jun 2016 14:12:54 GMT

Hello, I followed the example to create an index page and about page. If I want to pass a parameter in about page via href? How to? I would like to pass parameter in this way: <a href="about.html?id=34">mylink</a> After that How can i get the value of id in about.html? thals

radika
Tue, 27 Feb 2018 07:24:16 GMT

you can get the value by this code {{this.$route.params.id}}