演示页面上提供了源代码,看看声明性的模板如何进行HTML转换和完成一些简单的业务逻辑(单击演示页面上的src链接)。
Check out the source code available on the demo page to see how declarative templates do HTML conversion and some simple business logic (click the SRC links on the demo page).
为模板类一所生成的代码具有在模板类声明内部用于操作的声明和定义,如列表7中所示。
The generated code for the template class one has both the declaration and definition for the operation op within the template class declaration, as shown in Listing 7.
“响应式表单”是基于代码的表单构建方式,与表单中介绍的声明“模板驱动”表单的方法相对。
"Reactive forms" are the code-based counterpart to the declarative "Template Driven" forms approach introduced in the forms guide.
“响应式表单”是基于代码的表单构建方式,与表单中介绍的声明“模板驱动”表单的方法相对。
"Reactive forms" are the code-based counterpart to the declarative "Template Driven" forms approach introduced in the forms guide.
应用推荐