Lets say I have a computed property like this:
computed:{
rows: "buildRows(data, numCols)"
}
Where 'data' is an array and I want 'rows' to be updated any time the
anything in the 'data' array changes. Currently, polymer expressions uses a
regular observer (path observer I think) to listen for changes to the
'data' object. Unfortunately, this means that the 'rows' property is only
being updated when the 'data' array is replaced with a new object, not if
elements are added or removed. Is there any way to tell polymer to use an
ArrayObserver in this case?
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/852a3a57-6064-407c-ba93-491f8e59f159%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.