Skip to content
New issue

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

DOM element event functions not supported #4

Open
adamantonio opened this issue Jan 11, 2024 · 1 comment
Open

DOM element event functions not supported #4

adamantonio opened this issue Jan 11, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@adamantonio
Copy link
Contributor

Creating a dom element with create_* successfully creates an element on the page but event functions like mousePressed etc. cannot be attached to them.

@nickmcintyre nickmcintyre self-assigned this Jan 11, 2024
@nickmcintyre nickmcintyre added the bug Something isn't working label Jan 11, 2024
@nickmcintyre
Copy link
Owner

Good catch @adamantonio!

It could be nice to get this working using PyScript's tools for interacting with the DOM. I'm tinkering with the @when decorator and will circle back with a couple of prototypes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants