在Angular模板中,要删除一个div元素并删除其后的空白,可以使用以下解决方法:
Content to be displayed
Content to be displayed
Content to be displayed
.hidden {
display: none;
white-space: nowrap;
}
请根据您的具体需求选择适合的解决方法。
上一篇:Angular模板作用域变量