Skip to content

Conversation

@schloerke
Copy link
Collaborator

Fixes #350

(html <- tagList(div(), span()))
#> <div></div>
#> <span></span>
tagQ <- tagQuery(html)
tagQ$matches("span")
#> [1] FALSE TRUE
tagQ$matches(function(el, i) { el$name == "span" })
#> [1] FALSE TRUE

schloerke and others added 5 commits November 1, 2022 14:49
* main:
  CSS selection rules should include hyphens and underscores (#354)
  `document()` (#360)
  Start new version
  v0.5.4 release candidate (#357)
  Fix bindFillRole() documentation example
  roxygenize
  Fix outdated news
@schloerke schloerke requested a review from gadenbuie April 20, 2023 13: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.

Add tagQuery() $matches(cssSelector) functionality

3 participants