disable_all_tags: Disable all html tags

View source: R/mutate_tags.R

disable_all_tagsR Documentation

Disable all html tags

Description

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

Value

An htmltools HTML object with appended class = "disabled" and disabled attributes on all tags.

Examples

# add an href to all a tags
disable_all_tags(
  htmltools::tagList(
    htmltools::a(),
    htmltools::a()
  )
)


learnr documentation built on Sept. 28, 2023, 9:06 a.m.