A button to back to top.
Basic Usage
Scroll down to see the bottom-right button.
tagList(
"Scroll down to see the bottom-right button.",
el_backtop(right = 100, bottom = 100)
)
Scroll down to see the bottom-right button.
Customizations
Display area is 40px * 40px.
tagList(
"Scroll down to see the bottom-right button.",
el_backtop(
bottom = 100,
content = tags$div(
style = paste(
"height: 100%; width: 100%; background-color: var(--el-bg-color-overlay);",
"box-shadow: var(--el-box-shadow-lighter); text-align: center; line-height: 40px;",
"color: #1989fa"
),
"UP"
)
)
)
Scroll down to see the bottom-right button.
API
Element Plus’s tables, and beside each entry where it is in R.