Initialise and highlight an element.
highlight(
el,
id,
title = NULL,
description = NULL,
position = NULL,
class = NULL,
show_btns = NULL,
close_btn_text = NULL,
next_btn_text = NULL,
prev_btn_text = NULL,
session = NULL
)initialise(
id,
animate = TRUE,
opacity = 0.75,
padding = 10,
allow_close = TRUE,
overlay_click_next = FALSE,
done_btn_text = "Done",
close_btn_text = "Close",
stage_background = "#ffffff",
next_btn_text = "Next",
prev_btn_text = "Previous",
show_btns = TRUE,
keyboard_control = TRUE,
session = NULL
)
Id of element to be highlighted.
Unique identifier of cicerone.
Title on the popover.
Body of the popover.
Where to position the popover. See positions section.
className to wrap this specific step popover in addition to the general className in Driver options.
Do not show control buttons in footer.
Text on the close button for this step.
Next button text for this step.
Previous button text for this step.
A valid Shiny session if NULL
the function attempts to get the session with
shiny::getDefaultReactiveDomain()
.
Whether to animate or not.
Background opacity (0 means only popovers and without overlay).
Distance of element from around the edges.
Whether the click on overlay should close or not.
Whether the click on overlay should move next.
Text on the final button.
Background color for the staged behind highlighted element.
Allow controlling through keyboard (escape to close, arrow keys to move).
left
right
left-center
left-bottom
top
top-center
top-right
right
right-center
right-bottom
bottom
bottom-center
mid-center