text_selection {cascadess} | R Documentation |
Text selection
Description
The text_selection()
function adjusts how text is selected within a tag
element when the user clicks on the element.
Usage
text_selection(x, select)
Arguments
x |
A tag element or .style pronoun. |
select |
A character string specifying how text is selected. One of,
|
Value
An object of the same type as x
.
See Also
Other text utilities:
text_alignment()
,
text_break()
,
text_color()
,
text_decoration()
,
text_height()
,
text_style()
,
text_transform()
,
text_weight()
,
text_wrap()
Examples
library(htmltools)
div(
.style %>%
text_selection("all"),
"Click to select all the text"
)
[Package cascadess version 0.2.0 Index]