Javascript Event Listener #2383
Closed
WSH032
started this conversation in
Ideas / Feature Requests
Replies: 2 comments 3 replies
-
Hi @WSH032, thanks for the interesting feature request! |
Beta Was this translation helpful? Give feedback.
3 replies
-
This feature has just been released in version 1.4.16. 🎉 |
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 would like to add an event listener that runs only in JavaScript rather than in Python.
After studying Vue and
nicegui.templates.html
, I've found the following hack method:But, how about adding a api, like:
It can be simplified by leveraging the existing code in nicegui:
nicegui/nicegui/templates/index.html
Lines 145 to 179 in ccab181
Beta Was this translation helpful? Give feedback.
All reactions