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

Element references #36

Open
Tamschi opened this issue Jan 12, 2021 · 0 comments
Open

Element references #36

Tamschi opened this issue Jan 12, 2021 · 0 comments
Labels
type: feature Brand new functionality, features, pages, workflows, endpoints, etc.

Comments

@Tamschi
Copy link
Owner

Tamschi commented Jan 12, 2021

Currently, only custom components can be bound to identifiers and manipulated afterwards. (Via e.g. priv name syntax.)

The same should be possible for html elements, which should create a strongly typed reference to their DOM element that can be filled in by a renderer. This should work similarly to event handlers, maybe just a (private) Rc<Cell<_>> is enough.

@Tamschi Tamschi added the type: feature Brand new functionality, features, pages, workflows, endpoints, etc. label Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Brand new functionality, features, pages, workflows, endpoints, etc.
Projects
None yet
Development

No branches or pull requests

1 participant