Entity Detail

reddit what is the best cheap essay writing service forum https://www.reddit.com/r/studylevel/comments/w8cfh7/edubirdie_review/ reddit.com mymaster essay writing service
the Science of Law (J.S.D.) Best Pre-College Summer Programs for https://www.reddit.com/r/CertifiedWriters/comments/sa1cgo/paperduenow_review/ Graduate Programs. Schools with strong MFA programs are also more
how to write opinion essay ielts liz freeessaywriter how to write a cover letter when you don’t know the name of the person
how to write an example in an essay https://www.paperhelp.nyc how to write an email english

Per la creazione di una entity detail, aprire Visual Studio Code

  • Andare in src/aig-common/modules ed entrare nella sezione in cui si intende lavorare ex. “standard/component”
  • Creare una carella con il nome del componente ex. “city-entity-detail
  • Creare le tre sezione principali di un componente (HTML,SCSS,TS) ex. “city-entity-detail.component.ts”“city-entity-detail.component.html” – “city-entity-detail.component.ts”

Typescript

Nel Typescript del componente inserire quanto segue ex.

import { Component, OnInit, Input } from '@angular/core';
import { MatDialog, MatSnackBar } from '@angular/material';
import { FuseProgressBarService } from '@fuse/components/progress-bar/progress-bar.service';
import { EventService } from 'aig-common/event-manager/event.service';
import { CityDTO } from 'aig-generic';
import { CityResourceService } from 'aig-standard';
import { AigCityNewUpdateModalComponent } from 'app/main/api-gest-console/modules/aig-standard/components/city-new-update-modal/city-new-update-modal.component';

@Component({
    selector: 'aig-city-list-table',
    templateUrl: './city-list-table.component.html',
    styleUrls: ['./city-list-table.component.scss']
})
export class AigCityListTableComponent implements OnInit {
    constructor(
        private cityResourceService: CityResourceService,
        private eventService: EventService,
        private _fuseProgressBarService: FuseProgressBarService,
        private _snackBar: MatSnackBar,
        private dialog: MatDialog,
import { Component, Input, OnInit } from '@angular/core';

import { CityDTO } from 'aig-generic';



@Component({
    selector: 'entity-detail-city',
    templateUrl: './entity-detail-city.component.html',
    styleUrls: ['./entity-detail-city.component.scss']
})
export class AigEntityDetailCityComponent implements OnInit {
    constructor(
    ) { }
    ngOnInit(): void {}

    @Input()
    city: CityDTO;

}

HTML

Nel Html del componente inserire quanto segue ex.

<div>
    <div class="h3 m-16 mt-0 mb-0">Detail</div>
    <hr size="1″ width="300″ color="black" noshade>

    <p>Nome: {{ city.name }}</p>
    <p>Code: {{ city.code }}</p>
    <p>WikiCode: {{ city.wikiCode }}</p>
    
</div>

SCSS

Nel SCSS del componente inserire quanto segue ex.

Per formattare eventuali errori di copia/incolla, usare la combinazione di tasti ALT+MAIUSC+F