Add an action button.
bulmaActionButton(inputId, label, color = NULL, wrap = TRUE)
the input slot that will be used to access the value.
button label.
button color.
if TRUE
the button is wrapped in a div(..., class = "control")
element.
if(interactive()){
library(shiny)
shinyApp(
ui = bulmaPage(
bulmaActionButton("goButton", "Render in console")
),
server = function(input, output) {
observeEvent(input$goButton, {
print("button clicked")
})
}
)
}