Skip to content

Method to disable all html tags to not allow users to interact with the html.

Usage

disable_all_tags(ele)

Arguments

ele

html tag element

Examples

# add an href to all a tags
disable_all_tags(
  htmltools::tagList(
    htmltools::a(),
    htmltools::a()
  )
)
#> <a class="disabled" disabled></a>
#> <a class="disabled" disabled></a>