disable_all_tags {learnr} | R 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()
)
)
[Package learnr version 0.11.5 Index]