| block_confirm | R Documentation |
An object that defines a dialog that provides a confirmation step to any interactive element. This dialog will ask the user to confirm their action by offering a confirm and deny buttons.
block_confirm(title, text, confirm, deny)
title |
character, dialog's title |
text |
block_text, the explanatory text that appears in the confirm dialog |
confirm |
character, text of the button that confirms the action. |
deny |
character, text of the button that cancels the action. |
block_confirm class
Other compositions:
block_option_groups(),
block_option(),
block_text()
block_confirm(
title = "Are you sure?",
text = block_text("Wouldn't you prefer a good game of _chess_?"),
confirm = "Do it",
deny = "Stop, I've changed my mind!"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.