I have this:
<template id="repeat" is="dom-repeat" items="[[model]]" as="day">
<component model="[[day]]"></component>
</template>
It's recieving model from a iron-local-storage load. When I push something
to my localstorage using localStorage.setItem, I want this dom-repeat to
update and display the new item I pushed.
Right now it only appears AFTER I refresh the page, because it reloads
everything from local storage.
I tried using this.$.repeat.render(); but that didn't work. I want the
dom-repeat to display the new object instantly without having to refresh
the page.
Is this possible?
Thanks!
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/121c8304-22bb-400c-819e-4abab944df42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.