Closed saturnonearth closed 1 year ago
If we are just using anchor links or forms and we don't need to track the events in JS, we should not need to have function onSelect(e: Event). As of now, if you omit this function, it will cause an error.
function onSelect(e: Event)
ReferenceError: onSelect is not defined
That should just be in the consumer, sounds like you may still have on:select={onSelect} on the menu button (?)
on:select={onSelect}
You're correct! My bad.
If we are just using anchor links or forms and we don't need to track the events in JS, we should not need to have
function onSelect(e: Event)
. As of now, if you omit this function, it will cause an error.ReferenceError: onSelect is not defined