Hi !
I am struggling with displaying a Base64 image fetched from backend…
How can I pass a string from ionViewWillEnter method (or ionViewDidLoad) to the HTML in order to display it !?
Thanks in advance
ionViewWillEnter() {
this.feathersClient.damageService.get(this.userId, {},
(error, response) =>
{
if (error)
{
console.log("ErrorDamage: " + error);
}
else
{
console.log("Damage: " + JSON.stringify(response));
let img = JSON.stringify(response.image);
};
});
}