Skip to content

Commit 5237ea8

Browse files
committed
feat(ngx-material-pages): added optional title input to the outlook component
1 parent a127458 commit 5237ea8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/module/components/ngx-material-pages/ngx-material-page-outlook/ngx-material-page-outlook.component.ts

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
import {ChangeDetectionStrategy, Component, Directive, forwardRef, OnInit, TemplateRef, ViewChild, ViewEncapsulation} from '@angular/core';
1+
import {
2+
ChangeDetectionStrategy,
3+
Component,
4+
Directive,
5+
forwardRef,
6+
Input,
7+
OnInit,
8+
TemplateRef,
9+
ViewChild,
10+
ViewEncapsulation
11+
} from '@angular/core';
212

313

414
@Component({
@@ -14,6 +24,9 @@ export class NgxMaterialPageOutlookComponent implements OnInit {
1424
/** Template for page outlook content. */
1525
@ViewChild(TemplateRef) content: TemplateRef<any>;
1626

27+
@Input()
28+
title: string;
29+
1730
constructor() {
1831
}
1932

0 commit comments

Comments
 (0)