Why does the following event handler work in a Svelte component?
I have the following component Form.svelte
:
Get top left corner coordinates of “
I’m new to svetle, as a part of a project I need to calculate relative coordinated of a mouse click inside an image shown on screen.