radiobuttons_element: Radio button group element

View source: R/elements.R

radiobuttons_elementR Documentation

Radio button group element

Description

A radio button group that allows a user to choose one item from a list of possible options.

Usage

radiobuttons_element(id, options, initial_option = NULL, confirm = NULL)

Arguments

id

character, An identifier for the action triggered when the radio button group is changed.

options

list, a list of block_options.

initial_option

An option_block that exactly matches one of the options within options, Default: NULL

confirm

block_confirm, defines an optional confirmation dialog after the button is clicked. Default: NULL

Details

  • Works with block types: Section, Actions, Input

Value

block element class

See Also

Other elements: button_element(), checkbox_element(), datepicker_element(), image_element(), overflow_menu(), plaintext_element(), select_menu(), select_type_menu()


yonicd/slackblocks documentation built on March 2, 2023, 6:53 a.m.