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

Generate streams for events #6

Open
jodinathan opened this issue Feb 4, 2022 · 0 comments
Open

Generate streams for events #6

jodinathan opened this issue Feb 4, 2022 · 0 comments

Comments

@jodinathan
Copy link
Owner

We have addEventListener and the properties like onclick to work with events, however, would be nice to have streams with the correct event types.

For that to happen, first, we need to link the onclick events with their correct event type (today they are all Event) and when we print the onclick property, we also print a dynamic Stream for that same event.

Regarding the name of the new stream, using the example of onclick, the name could be onClick. To differ from the original property. We could also change all event properties like onclick to propOnClick, to let them apart in the autocomplete options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant