I would counter again and say that yes, out of the box, they are compatible with other frameworks as far as normal DOM operations go: reading/writing properties and attributes, receiving events, etc. You did mention databinding, and you're right, *that's* where things get tricky. Libraries that implement two-way databinding (to an <input>'s value property, for example) often have hard-coded logic for those few built-in elements that support that sort of thing, so no, they won't magically work with web components for databinding. There is absolutely nothing prevent their use with web components that stick to the normal DOM patterns, though: attributes/properties in, events out.
Em quarta-feira, 12 de novembro de 2014 06h26min52s UTC-7, Rob Eisenberg escreveu: > > Actually, no, custom elements are most definitely not theoretically > compatible with any framework. Not out of the box at least. This is one of > several reasons that Angular has to make big breaking changes in 2.0 and > why other libraries with databinding support will probably follow in some > fashion or another. > > On Tuesday, November 11, 2014 5:49:31 PM UTC-5, Eric Bidelman wrote: >> >> Theoretically, custom elements are compatible with any framework. >> >> https://www.polymer-project.org/docs/start/customelements.html#interop >> >> On Wed, Nov 12, 2014 at 9:18 AM, Christopher Dumas <[email protected]> >> wrote: >> >>> I am a huge fan of Google's Material Design (and I think Polymer >>> is really cool), and also of Ember.JS. I was interested to know whether you >>> plan to have compatibility with Ember.JS. To clarify: I was hoping that >>> Polymer might at least play nicely with Ember and Handlebars. Keep up the >>> good work! >>> >>> 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/CD4C3C6E-FA6D-466E-ADAA-A3732FDBFE42%40me.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/44bd752c-a46b-4df9-8ec2-5f76b7feee58%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
