Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit c984937

Browse files
CaerusKaruThomasBurleson
authored andcommitted
feat(demo-app): add version number to header
1 parent 3a8041d commit c984937

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/apps/demo-app/src/app/app.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ <h2>Layout Demos: </h2>
1212
<button mat-raised-button color="primary" [routerLink]="['issues']"> Github</button>
1313
<button mat-raised-button color="primary" [routerLink]="['stackoverflow']"> StackOverflow
1414
</button>
15+
<span>Version: {{version}}</span>
1516
</div>
1617
<div fxFlex fxLayout="column"
1718
fxLayoutAlign="left top"
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
import {Component, ViewEncapsulation} from '@angular/core';
22

3+
import {VERSION} from '@angular/flex-layout';
4+
35
@Component({
46
selector: 'demo-root',
57
templateUrl: './app.component.html',
68
encapsulation: ViewEncapsulation.None
79
})
8-
export class AppComponent {}
10+
export class AppComponent {
11+
version = VERSION.full;
12+
}

0 commit comments

Comments
 (0)