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

Is it possible to apply values to a DOM node wrapped in an html document? #62

Open
dustinknopoff opened this issue Aug 23, 2019 · 0 comments

Comments

@dustinknopoff
Copy link

dustinknopoff commented Aug 23, 2019

Specifically this function in the iron example, would it be possible to say pass the class foo to every child node?

i.e. in the example, the top-level div defined in the index() method would receive and add foo to it's list of classes.

Is this possible? And if not in scope for this crate, what are your thoughts on how difficult it would be to extend this for that to be possible?

Thanks

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