View source: R/composition_objects.R
confirm_object | 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.
confirm_object(title, text, confirm, deny, style = NULL)
title |
A plain_text-only |
text |
A |
confirm |
A plain_text-only |
deny |
A plain_text-only |
style |
Defines the color scheme applied to the confirm button. A value of danger will display the button with a red background on desktop, or red text on mobile. A value of primary will display the button with a green background on desktop, or blue text on mobile. If this field is not provided, the default value will be primary. |
A Slack Confirmation Object
https://api.slack.com/reference/block-kit/composition-objects#confirm
Other Composition:
conversation_list_filter()
,
dispaction_action_configuration()
,
option_group()
,
option_object()
,
text_object()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.