powered by
The visible() function changes the visibility of a tag element. An invisible element is both visually hidden and is also hidden from screen readers.
visible()
visible(x, value)
A tag element or .style pronoun.
One of TRUE or FALSE specifying if the element is visible, defaults to TRUE.
TRUE
FALSE
# NOT RUN { library(htmltools) div("I am hidden") %>% visible(FALSE) # }
Run the code above in your browser using DataLab