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

Add tagQuery() $matches(cssSelector) functionality #350

Open
schloerke opened this issue Nov 1, 2022 · 0 comments · May be fixed by #351
Open

Add tagQuery() $matches(cssSelector) functionality #350

schloerke opened this issue Nov 1, 2022 · 0 comments · May be fixed by #351

Comments

@schloerke
Copy link
Collaborator

schloerke commented Nov 1, 2022

After another discussion, tagQuery() will add a method like $matches() similar to a vectorized form of Element.matches(cssSelector).

No alterations will be made to tagAppendAttributes(). Users can use $matches() to help determine their desired behavior in two steps.

Originally posted by @schloerke in #334 (comment)


Should there also be the tag** helper method? tagMatches(x, cssSelector)?

cc @cpsievert

@schloerke schloerke linked a pull request Nov 1, 2022 that will close this issue
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 a pull request may close this issue.

1 participant