I'd like to be able to render some preformatted html including dom components, but I don't see anyway to prevent the compiler from processing it.
For example, I want to display:
<pre>
<some-component [color]="color"></some-component>
</pre>
Add ngNonBindable
<pre ngNonBindable>
<some-component [color]="color"></some-component>
</pre>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.