import { Component, OnInit, Input } from '@angular/core';
import { environment } from '../../environments/environment';
import { IAlbum } from '../models/ialbum';
@Component({
selector: 'grooviz-album',
templateUrl: './album.component.html',
styleUrls: ['./album.component.scss']
})
export class AlbumComponent implements OnInit {
@Input() album: IAlbum; // 🅰
current: number; // 🅱
photosUrl: string = environment.photosUrl; // 🅲
constructor() { }
ngOnInit() {
this.current = 0; // 🅳
}
}