- Expert Angular
- Mathieu Nayrolles Rajesh Gunasundaram Sridhar Rao
- 105字
- 2021-07-15 17:05:28
Templates
Templates can be thought of as a representation of a component that is visualized according to the UI/UX needs of an application. A component will have a template associated with it. The template is responsible for displaying and updating data according to user events:

Here is a simple template that displays the title and author of a book:
<h1>Book Details</h1> <p>Title of the Book: {{title}}</p> <p>Author Name : {{author}}</p>
Here, the title and author values wrapped in curly braces will be supplied by the associated component instance.
We will discuss templates and their syntax in detail in Chapter 8, Template and Data Binding Syntax.
推薦閱讀
- Fundamentals of Linux
- Monkey Game Development:Beginner's Guide
- Delphi程序設計基礎:教程、實驗、習題
- ASP.NET Core 5.0開發入門與實戰
- Learning ASP.NET Core 2.0
- 數據結構簡明教程(第2版)微課版
- MySQL數據庫管理與開發(慕課版)
- Microsoft Dynamics GP 2013 Reporting, Second Edition
- 前端HTML+CSS修煉之道(視頻同步+直播)
- 青少年信息學競賽
- Learning Apache Karaf
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- Visual C++從入門到精通(第2版)
- 從零開始構建深度前饋神經網絡:Python+TensorFlow 2.x
- Spring Boot從入門到實戰