bulmaActionButton: Add action button

Description Usage Arguments Author(s) Examples

View source: R/bulma-input.R

Description

Add an action button.

Usage

1
bulmaActionButton(inputId, label, color = NULL)

Arguments

inputId

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

label

button label.

color

button color.

Author(s)

John Coene, jcoenep@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
if(interactive()){
shiny::shinyApp(
  ui = bulmaPage(
    bulmaActionButton("goButton", "Render in console")
  ),
  server = function(input, output) {
    observeEvent(input$goButton, {
      print("button clicked")
    })
 }
)
}

JohnCoene/shinybulma documentation built on Oct. 17, 2020, 8:57 p.m.