-
- Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
To make events like on:click not programmatical callable, I wish the events to check if the event isTrusted. Problem is, i have to check it in each function.
Describe the solution you'd like
A eventModifier like |once or |passive - call it trusted
<button on:click|trusted={() => console.log('Trusted event'); }></button>