I'm new in TypeScript and Angular i would like to load an image from the local disk, store this image in a variable and pass this data to another component.
Someone has some examples. I tried using an example in Javascript, but it didn't work in TypeScrupt. In HTML file use this:
<input type=file name=img multiple>
I tried using the image attribute, but got an error that is undefined.
Should I pass array bytes to another component or the path to this file image?