R/test-utils.R

Defines functions getAttrib getAttribs

getAttribs <- function(widget) {
  widget$x$tag$attribs
}

getAttrib <- function(widget, name) {
  widget$x$tag$attribs[[name]]
}

Try the reactable package in your browser

Any scripts or data that you put into this service are public.

reactable documentation built on March 31, 2023, 11:39 p.m.