rstudio / htmltools

Tools for HTML generation and output
https://rstudio.github.io/htmltools/
215 stars 69 forks source link

tagQuery() class methods need to work with multiple `class` attributes #247

Closed schloerke closed 3 years ago

schloerke commented 3 years ago

Ex:

tagQuery(div(class="A", class="B", "text"))$addClass("C")$removeClass("B")
#> `$allTags()`:
#> <div class="A C B">text</div>
#> 
#> `$selectedTags()`: `$allTags()`