input_button: Button and link inputs

View source: R/input-button.R

input_buttonR Documentation

Button and link inputs

Description

Button inputs are useful as triggers for reactive or observer expressions. The reactive value of a button input begins as NULL, but subsequently is the number of clicks.

Usage

input_button(id, label, ...)

input_link(id, label, stretch = FALSE, icon = NULL, ...)

Arguments

id

A character string. specifying the id of the reactive input.

label

A character string specifying the label text on the button or link input.

...

Additional named arguments passed as HTML attributes to the parent element.

icon

An icon, see bsicons::bs_icon.

See Also

Other inputs: checkbarInput(), chipInput(), fileInput(), formInput(), input_checkbox(), listGroupInput(), menuInput(), radioInput(), radiobarInput(), rangeInput(), selectInput(), textInput()


nteetor/yonder documentation built on June 12, 2025, 3:49 a.m.