File

src/app/app.component.ts

Description

Componente Base

Example

Metadata

selector app-root
styleUrls app.component.css
templateUrl ./app.component.html

Index

Properties

Properties

Public version
version:
Default value : environment.version

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>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""