.filter(<span style="color: #800000">'</span><span style="color: #800000">to_trusted</span><span style="color: #800000">'</span>, [<span style="color: #800000">'</span><span style="color: #800000">$sce</span><span style="color: #800000">'</span><span style="color: #000000">,function ($sce) { </span><span style="color: #0000ff">return</span><span style="color: #000000"> function (text) { </span><span style="color: #0000ff">return</span><span style="color: #000000"> $sce.trustAsHtml(text); } }])</span>
以上是angular ng-repeat 动态获取的dom片段 显示的详细内容。更多信息请关注PHP中文网其他相关文章!