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

xilem_html: Experiment with composition types and strong typed DOM elements #131

Conversation

Philipp-M
Copy link
Contributor

This is kind of the "opposite" approach compared to #119 by using types for all kinds of attributes.

Checkout this zulip thread for more information of all the findings while experimenting with this (and #119).

* Remove old element views and events
* Repurpose `counter_untyped` example to `counter_custom_element`
* Make typing the sensible default (but DOM interfaces will be able to be toggled via feature flags in the future)
* Make the `EventTarget` trait a View, so that every DOM interface, including Node has to be a `View` (whether this makes sense for `EventTarget` is an open question)
@Philipp-M
Copy link
Contributor Author

Closing in favor of #141

@Philipp-M Philipp-M closed this Nov 3, 2023
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

Successfully merging this pull request may close these issues.

1 participant