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

feat(virtual-node): add attrNames property which returns list of attribute names #2741

Merged
merged 4 commits into from
Jan 11, 2021

Conversation

straker
Copy link
Contributor

@straker straker commented Jan 7, 2021

The getNodeAttributes function does not support virtual nodes. Deprecating getNodeAttributes in favor of a property on the virtual node that returns an array of attribute names. From the list of names we can call vNode.attr(name) to get the value.

Part of issue #2734

@straker straker requested a review from a team as a code owner January 7, 2021 22:12
WilcoFiers
WilcoFiers previously approved these changes Jan 8, 2021
@straker straker merged commit 1d864b4 into develop Jan 11, 2021
@straker straker deleted the attr-names branch January 11, 2021 15:13
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.

3 participants