But be aware that _notifySplices uses Polymer.Collection keys instead of 
array indexes, latest Polymer 1.2 has notifySplices that covers that, but 
then it requires you to normalize your splices somehow, to meet their 
needs, and you cannot call it consecutively.

Here you have few related issues
https://github.com/Polymer/polymer/issues/2752
https://github.com/Polymer/polymer/issues/2540
https://github.com/Polymer/polymer/issues/2680

W dniu piątek, 5 lutego 2016 12:12:42 UTC+1 użytkownik [email protected] 
napisał:
>
> Hey Eric,
>
> I managed to get it working, I was observing the external object fine, the 
> problem was that the Object had properties that were arrays which made it 
> complicated. I managed to get it working. I used the _notifySplices to help 
> me out.
>
> Thanks :)
>
> On Friday, January 29, 2016 at 7:14:38 PM UTC, Eric Bidelman wrote:
>>
>> Yep, that's possible. Observing external sources gets a bit tricky if the 
>> data is changed without using Polymer's set() API.
>> It would be helpful to see what you're trying to do.
>>
>> On Fri, Jan 29, 2016 at 9:38 AM <[email protected]> wrote:
>>
>>> Hi there, im just in the middle or trying to hook up a Javascript module 
>>> that connects to a real time service through Web sockets to work with some 
>>> Web components I've built.
>>>
>>> Basically I'm just wondering is it possible to have a Web component 
>>> property value set to an external Javascript object and when the external 
>>> Javascript object changes my Web component property will update with the 
>>> same data. Basically the two have binding set up.
>>>
>>> I will update this post with some code examples.
>>>
>>>
>>> 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/9f52feb2-cda2-4469-acec-51b30ce82f8e%40googlegroups.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

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/1754489c-c8e5-4d47-9651-81936077864d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to