bulmaActionButton: Add action button

View source: R/bulma-input.R

bulmaActionButtonR Documentation

Add action button

Description

Add an action button.

Usage

bulmaActionButton(inputId, label, color = NULL, wrap = TRUE)

Arguments

inputId

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

label

button label.

color

button color.

wrap

if TRUE the button is wrapped in a div(..., class = "control") element.

Author(s)

John Coene, jcoenep@gmail.com

Examples

if(interactive()){
 library(shiny)
 shinyApp(
   ui = bulmaPage(
     bulmaActionButton("goButton", "Render in console")
   ),
   server = function(input, output) {
     observeEvent(input$goButton, {
       print("button clicked")
     })
  }
 )
}

JohnCoene/shinybulma documentation built on Nov. 16, 2022, 6:42 p.m.