update_button: Change button

View source: R/input-button.R

update_buttonR Documentation

Change button

Description

Change button.

Usage

update_button(
  id,
  label = NULL,
  value = NULL,
  disable = NULL,
  session = default_reactive_domain()
)

update_link(
  id,
  label = NULL,
  value = NULL,
  disable = NULL,
  session = default_reactive_domain()
)

Arguments

value

A number specifying a new value for the button, defaults to NULL.

disable

A boolean or NULL.

  • If TRUE, the button is disabled and will not react to clicks from the user.

  • If FALSE, the button is enabled.

  • If NULL, the argument is ignored.

session

A reactive context, defaults to default_reactive_domain().


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