Executing JS scripts within events #783
Archmonger
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Can this be achieved with an adjacent |
Beta Was this translation helpful? Give feedback.
1 reply
-
Extend the VDOM spec to allow for the following to occur
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There's currently no existing capabilities for running a JS script from within an event tag.
I'm currently unsure what kind of API should exist for something like this though.
For example, perhaps it would look something like this?
In this scenario, providing a
str
withinonClick
would execute a one-timeeval( ... )
on the client side.This discussion will be converted to an issue after debating the API.
Beta Was this translation helpful? Give feedback.
All reactions