We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<html> <script src="./_hyperscript.js"></script> <script type="text/hyperscript"> init set $obj to {a:10,b:40} end behavior logval(val) on click log val end end </script> <body> <button _="on click log $obj.a"> <!-- >> 10 --> first button </button> <button _="install logval(val: $obj.a)"> <!-- >> undefined --> second button </button> </body> </html>
It is expected for 10 to appear in the console as a result of pressing the second button but undefined is returned .
10
undefined
The text was updated successfully, but these errors were encountered:
I would bet this is an ordering issue.
Sorry, something went wrong.
No branches or pull requests
It is expected for
10
to appear in the console as a result of pressing the second button butundefined
is returned .The text was updated successfully, but these errors were encountered: