📜  角度到 html 转换器 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:17.346000             🧑  作者: Mango

代码示例1
if you're using Angular, then avoid jQuery if possible. Instead just use an Angular function which grabs the HTML you need. Here's a post showing the javascript to grab part of a dom, so just put that in your angular fn.

How to get the HTML for a DOM element in javascript

If you're really stuck on using jQuery, there are lots of posts about how to create directives for using jQuery.