File

src/module/component/mat-jumbotron/content/mat-jumbotron-content.component.ts

Implements

OnInit

Metadata

selector mat-jumbotron-content
styleUrls mat-jumbotron-content.component.scss
templateUrl ./mat-jumbotron-content.component.html

Index

Properties
Methods

Constructor

constructor()

Methods

ngOnInit
ngOnInit()
Returns : void

Properties

content
content: TemplateRef<any>
Type : TemplateRef<any>
Decorators : ViewChild

Template for page outlook content.

import {Component, OnInit, TemplateRef, ViewChild} from '@angular/core';

@Component({
  selector: 'mat-jumbotron-content',
  templateUrl: './mat-jumbotron-content.component.html',
  styleUrls: ['./mat-jumbotron-content.component.scss']
})
export class MatJumbotronContentComponent implements OnInit {

  /** Template for page outlook content. */
  @ViewChild(TemplateRef)
  content: TemplateRef<any>;

  constructor() {
  }

  ngOnInit() {
  }

}
<ng-template>
  <ng-content></ng-content>
</ng-template>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""