Does jQuery work well with Polymer 2?

旧城冷巷雨未停 提交于 2019-12-02 10:30:47

It does work but it won´t work well. Have a look this. The only way jquery and polymer work well togehter is polymer 1 and shady dom but thats deprecated.

The question can be interpreted in two ways - can legacy jquery code create polymer components/custom tags?

The answer is YES.

The other interpretation is - can I use jquery INSIDE my web components?

The answer is "maybe, but its a really bad idea, don't do it".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!