Description Usage Arguments Value Examples
Return TRUE if a tag object matches a specific id, and/or tag name, and/or
1 |
item |
Tag to validate. |
... |
Any attribute to check (must be named). |
id |
Expected id. |
name |
Expected name. |
class |
Expected class. |
TRUE or FALSE, depending on the test result.
1 2 3 4 5 6 7 | ## Not run:
library(shiny)
myTag <- div(class = "bg-blue")
tagMatches(myTag, id = "d")
tagMatches(myTag, class = "bg-blue")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.