mk_run_button: An awesome run-button.

View source: R/mk-run-button.R

mk_run_buttonR Documentation

An awesome run-button.

Description

Create a pretty run-button that triggers some calculation when clicked. Run-buttons are often used in 'observeEvent()'.

Usage

mk_run_button(id, label = "Run")

Arguments

id

String. The input slot that will be used to access the value.

label

String. Text (default = 'Run') to be shown on the run button.

Value

A list of HTML elements that can be added to a UI definition.

Examples

inst/examples/ex-run-button.R

cabaceo/shinymod documentation built on Sept. 8, 2023, 12:23 p.m.