How to display html inside template?

前端 未结 2 1354
广开言路
广开言路 2021-01-24 13:02

I have polymer-element:

example

By default templates is not allowed to insert html.

This sample is not working, because it\'s not allowed to insert

2条回答
  •  广开言路
    2021-01-24 13:36

    
    

    works for Polymer 2. Source: https://github.com/Polymer/TemplateBinding/issues/57

提交回复
热议问题