mirror of
https://github.com/jwetzell/itsfiveoclockwhere.git
synced 2026-08-15 04:03:40 +00:00
upgrade to angular v19
This commit is contained in:
@@ -6,9 +6,10 @@ import { TimezoneService } from './timezone/services/timezone.service';
|
||||
|
||||
declare let gtag: Function;
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
templateUrl: './app.component.html',
|
||||
styleUrls: ['./app.component.scss'],
|
||||
selector: 'app-root',
|
||||
templateUrl: './app.component.html',
|
||||
styleUrls: ['./app.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class AppComponent {
|
||||
fiveOclocks: Timezone[] = [];
|
||||
|
||||
@@ -3,27 +3,22 @@ import { Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/cor
|
||||
import { Timezone } from '../../models/timezone.model';
|
||||
|
||||
@Component({
|
||||
selector: 'app-timezone-list',
|
||||
templateUrl: './timezone-list.component.html',
|
||||
styleUrls: ['./timezone-list.component.scss'],
|
||||
animations: [
|
||||
trigger('displayState', [
|
||||
state(
|
||||
'show',
|
||||
style({
|
||||
opacity: 1,
|
||||
})
|
||||
),
|
||||
state(
|
||||
'hide',
|
||||
style({
|
||||
opacity: 0,
|
||||
})
|
||||
),
|
||||
transition('show=>hide', animate('450ms ease-out')),
|
||||
transition('hide=>show', animate('450ms ease-in')),
|
||||
]),
|
||||
],
|
||||
selector: 'app-timezone-list',
|
||||
templateUrl: './timezone-list.component.html',
|
||||
styleUrls: ['./timezone-list.component.scss'],
|
||||
animations: [
|
||||
trigger('displayState', [
|
||||
state('show', style({
|
||||
opacity: 1,
|
||||
})),
|
||||
state('hide', style({
|
||||
opacity: 0,
|
||||
})),
|
||||
transition('show=>hide', animate('450ms ease-out')),
|
||||
transition('hide=>show', animate('450ms ease-in')),
|
||||
]),
|
||||
],
|
||||
standalone: false
|
||||
})
|
||||
export class TimezoneListComponent implements OnInit, OnChanges {
|
||||
@Input() timezones: Timezone[] = [];
|
||||
|
||||
Reference in New Issue
Block a user