Hi all,
am having image file path need to be added in file type like below
private file:File;
this.file = "../assets/image/image.jpg"
how can I achieve this or how can I assign file bytes into it to display the image
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Kiran MohantyRank #821 · 2.8K reputationPosted Feb 10, 2021, 6:10 AM EST
Harshal LimayeRank #485 · 5.1K reputationPosted Feb 10, 2021, 6:23 AM EST