标签:aci 内容 directive pipe component img str rect 变量
*ngIf 如果满足条件 就显示标签内容,否则不显示。
使用pipes格式化屏幕输出内容
价格,货币符号
看看效果
我们创建html 和 css文件
` ` 你可以把它看作字符串的加强版 可以用多行字符串(里面可以用变量)
我们把内容都复制粘贴到html和css文件中了。那么我们又改怎么用他们呢?
UltraRacing-03 Template Traction( Structural Directives & Pipes & Component Methods)
标签:aci 内容 directive pipe component img str rect 变量
原文地址:https://www.cnblogs.com/PoeticalJustice/p/9277555.html