📜  标签之间的角度组件 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:47.044000             🧑  作者: Mango

代码示例1
//  
@Component({
  selector: 'app-demo',
  template: '
{{title}}

', }) export class DemoComponent { title = 'Works!'; } //Content to be projected: This is projected content! //The output will be: Works! This is projected content!