Hi All,
I am using the Polymer starter kit to prototype a line of business app using jaydata and an IIS oData feed.
In the starter kit I have created some new routes in routing.html such as this:
page('/orders', function () {
app.route = 'orders';
});
and added them to my index.html as so:
<section data-route="orders">
<paper-material elevation="1">
<h2 class="paper-font-display2">Orders</h2>
<p>This is the orders section</p>
</paper-material>
</section>
My question is as I navigate between these different routes my data is not refreshing as my oData feed loads on the ready:function() which is only called when the initial home page is loaded . How can I hook into a route load callback so I know when data needs to be refreshed?
Thanks!
Daniel