Skip to content

Commit

Permalink
feat(demo-app): add version number to header
Browse files Browse the repository at this point in the history
  • Loading branch information
CaerusKaru authored and ThomasBurleson committed Mar 20, 2018
1 parent 3a8041d commit c984937
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/apps/demo-app/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ <h2>Layout Demos: </h2>
<button mat-raised-button color="primary" [routerLink]="['issues']"> Github</button>
<button mat-raised-button color="primary" [routerLink]="['stackoverflow']"> StackOverflow
</button>
<span>Version: {{version}}</span>
</div>
<div fxFlex fxLayout="column"
fxLayoutAlign="left top"
Expand Down
6 changes: 5 additions & 1 deletion src/apps/demo-app/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import {Component, ViewEncapsulation} from '@angular/core';

import {VERSION} from '@angular/flex-layout';

@Component({
selector: 'demo-root',
templateUrl: './app.component.html',
encapsulation: ViewEncapsulation.None
})
export class AppComponent {}
export class AppComponent {
version = VERSION.full;
}

0 comments on commit c984937

Please sign in to comment.