Replies: 1 comment
-
As far as I know, decorators are only supported on and within classes, which would be quite limited. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know that the decorator proposal hasn't gotten to stage 4 as yet and there isn't much browser support. But this would be a neat way to use event modifiers now that we are moving to passing functions as attributes instead of dispatching events. Just throwing it out there, for thoughts and potential limitations.
Beta Was this translation helpful? Give feedback.
All reactions