I'm new to Svelte so forgive me if this is obvious, but I've tried solutions I've seen on other posts and none seem to have worked.
The function is called as follows:
<div on:mouseover={() => exampleFunction("1")}>
and it is written in the JS as:
function exampleFunction(id){
document.getElementById(`item-${id}`).classList.remove('hidden');
}
The 'id' shows as undefined in the function, so I figured the error is where it's being passed from.
Thanks for the help in advance!
