Polymer elements within angular 2 component

前端 未结 2 1055
执念已碎
执念已碎 2020-12-15 00:27

I have a set of custom polymer elements, that I would like to use within an angular 2 application.

It seems like there\'s a problem concerning the content tag of the

2条回答
  •  感情败类
    2020-12-15 01:13

    There are a few open issue about Angular2 combined with Polymer. For example Angular doesn't use Polymer.dom(el)... for manipulating a Polymer elements children. This is probably what breaks your components. A workaround is to enable full shadow DOM and polyfills. See https://www.polymer-project.org/1.0/docs/devguide/settings.html

    An issue I haven't found a solution yet is passing