BackEnd #3
2
src/app/discoteca-i.ts
Normal file
2
src/app/discoteca-i.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export interface DiscotecaI {
|
||||
}
|
@ -43,7 +43,7 @@ export class Discoteca {
|
||||
this.descripcion = desc;
|
||||
}
|
||||
|
||||
get Descripcion(): string{
|
||||
getDescripcion(): string{
|
||||
return this.descripcion;
|
||||
}
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ export class PerfilDiscotecaPage implements OnInit {
|
||||
nombre: string;
|
||||
telefono: number;
|
||||
localizacion: string;
|
||||
descripcion: string;
|
||||
fotoSrc: string;
|
||||
fotoLoaded: string;
|
||||
someURL: string;
|
||||
@ -73,6 +74,10 @@ export class PerfilDiscotecaPage implements OnInit {
|
||||
this.eventos = this.tab1Service.getEventos();
|
||||
}
|
||||
|
||||
getDescripcion(): void{
|
||||
this.descripcion = this.tab1Service.getDescripcion();
|
||||
}
|
||||
|
||||
cargarImagen(){
|
||||
this.fotoSrc = this.someURL;
|
||||
}
|
||||
|
@ -56,6 +56,11 @@ export class Tab1Service implements OnInit{
|
||||
return this.eventos;
|
||||
}
|
||||
|
||||
getDescripcion(): string{
|
||||
this.initValues();
|
||||
return this.discoteca.getDescripcion();
|
||||
}
|
||||
|
||||
initEventos(): void{
|
||||
this.eventos = [];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user