[Angular Directive] Structure directive and <template>
2024-08-31 20:07:57
The structure directive is just a sugar syntax of <template>.
Such as:
<div *ngIf="name.length > 2">
This is something...
</div>
Equal to:
<template [ngIf]="name.length > 2">
<div> There are somoething</div>
</template>
最新文章
- jquery 集合操作
- wav转aac
- CSS3弹性盒模型之box-flex
- 领接表的建立和它的DFS, BFS;;;
- 《Python基础教程(第二版)》学习笔记 ->; 第八章 异常
- VS2010调试多进程--医疗His调试中使用
- Python小代码_2_格式化输出
- gcc 中__thread 关键字的示例代码
- 关于PHP读取HTTP头的部分
- webpack入门(二)what is webpack
- Quartz.net 2.4.1 使用记录
- HTTP 07 追加协议与 Ajax
- hadoop伪分布式安装之Linux环境准备
- Vmware 不使用物理内存运行缓慢的处理方法
- fdatool的滤波器设计
- 前端编程工具WebStorm 10 工具的快捷使用方式
- Linux 防火墙iptables命令详解
- linux 打包为zip压缩包
- ASP.NET MVC5.0 OutputCache不起效果
- PowerDesigner工具箱(palette)关了如何重新打开
热门文章
- Navigator对象关于语言的属性
- Office2010激活工具
- 【Codeforces Round #453 (Div. 2) C】 Hashing Trees
- domino web app
- input表单验证(全面)
- 【Codeforces Round #431 (Div. 2) B】 Tell Your World
- java set转list,数组与list的转换
- 关于python中矩阵的实现和矩阵的转置
- LoadRunner--录制手机APP脚本
- 鲁德http://www.testroad.org/topic/76