Add an action button.

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

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")
     })
  }
 )
}