Hey so I simple example of what I am trying to achieve.

So I have a standard JavaScript module that exposes some properties and 
some functions. Lets call it realtime.js
The purpose of this module is to use another library which handles 
connecting to and receiving data from a real time service with Web sockets. 

It has a property with which is an object that holds the data that is 
returned and updated from the Web sockets service.

varrealtime = (function(){

}





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] <javascript:>> 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] <javascript:>.
>> 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/8a84a0dd-44b5-44c3-9215-35e6dbaadbae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to