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

Node references #50

Closed
1 of 3 tasks
lukechu10 opened this issue Mar 19, 2021 · 0 comments · Fixed by #57
Closed
1 of 3 tasks

Node references #50

lukechu10 opened this issue Mar 19, 2021 · 0 comments · Fixed by #57
Assignees
Labels
A-macro Area: macros C-enhancement Category: new feature or improvement to existing feature

Comments

@lukechu10
Copy link
Member

lukechu10 commented Mar 19, 2021

Is your feature request related to a problem? Please describe.
Allow getting a reference to the underlying DOM node.

Describe the solution you'd like
A special ref attribute that will assign a NodeRef with the value of the DOM node.

Additional context
Look at Yew's implementation: https://github.com/yewstack/yew/blob/5fc4387dc58b7f87c9a71ee734bf04d307fb7226/packages/yew/src/html/mod.rs#L68

Questionnaire

  • I would like to implement this feature but I don't know where to start
  • I would like to implement this feature and I have a solution
  • I don't have time to implement this / I don't want to implement this
@lukechu10 lukechu10 added C-enhancement Category: new feature or improvement to existing feature A-macro Area: macros difficulty: some labels Mar 19, 2021
@lukechu10 lukechu10 self-assigned this Mar 24, 2021
@lukechu10 lukechu10 mentioned this issue Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-macro Area: macros C-enhancement Category: new feature or improvement to existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant