src/app/app.component.ts
Componente Base
selector | app-root |
styleUrls | app.component.css |
templateUrl | ./app.component.html |
Properties |
|
Public version |
version:
|
Default value : environment.version
|
Defined in src/app/app.component.ts:21
|
Versione presa dall'environment |
import { Component } from '@angular/core';
import { environment } from '../environments/environment';
/**
*
* Componente Base
* @export
* @class AppComponent
*/
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
/**
* Versione presa dall'environment
*
* @memberof AppComponent
*/
public version = environment.version;
}
<app-dashboard>
</app-dashboard>
<div class="ui-g ui-fluid">
<div class="ui-g-12">
<router-outlet></router-outlet>
</div>
<div class="ui-g-12" style="width:100%;text-align:center;color:white">
v.{{version}} -
<a href="https://tecnicume.blogspot.com" target="_new">TECNICUME</a>
-
<a href="https://github.com/marcoberri/swaping" target="_new">github</a>
</div>
</div>