luisvsilva / aut7

Aurelia Framework7 Typescript: A Lightweight Mobile App Platform
MIT License
0 stars 0 forks source link

unable to reload aurelia pages to refresh content and access url params #1

Open daleholborow opened 6 years ago

daleholborow commented 6 years ago

Hi there - I hope you don't mind, I am cross-posting an issue that I have with your typescript / au7 template - I am unable to figure out to get the aurelia views to reload each time so that they refresh their data / bindings etc?

I was very excited to try out your framework adaptation but I am unable to figure out how to reinitialize the aurelia view models on each page load?? I want to be able to pass parameters, say, on selecting an item from a list, and then navigate to a detailed view accordingly, but I cannot see how to access the usual F7 pageData.query parameter objects? And the aurelia view models themselves seem to only ever get created once, and so i can never update teh view model data, nor can i figure out how to get access to the usual F7 goodies like the router for rerouting, accessing the uri parameters etc?

I can't see anywhere that you or Timo or the original AU7 guy who your code is forked from , ever do anyting more complicated than route between static pages? Am i missing something obvious?

Thanks

luisvsilva commented 6 years ago

I am actually doing some work o this project and I will submit an update soon, I will reply to your questions once it is there.

For now watch this space: https://github.com/radical-systems-australia/aurelia-framework7-typescript

daleholborow commented 6 years ago

Fantastic, I'll check it out today!

Thanks.