You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having the ability to add modifiers for DOM events (#1088 )is really great, for example: on:click|once={handleClick}. Since this mechanism is now available, it might be useful to extend it to custom event handlers, such that you can do on:message|once={handleDispatch}. Obviously not all modifiers make sense in the context of a custom event. But for sure once would be useful.
The text was updated successfully, but these errors were encountered:
Having the ability to add modifiers for DOM events (#1088 )is really great, for example:
on:click|once={handleClick}
. Since this mechanism is now available, it might be useful to extend it to custom event handlers, such that you can doon:message|once={handleDispatch}
. Obviously not all modifiers make sense in the context of a custom event. But for sureonce
would be useful.The text was updated successfully, but these errors were encountered: