Create a UI element for expressions
exprs_ui.Rd
This function generates a UI element for inputting expressions in a Shiny application.
It includes two shinyAce::aceEditor
elements for inputting the name and value of a new column.
Usage
exprs_ui(
id = "",
value_name = "newcol",
value_val = NULL,
delete_button = TRUE,
key = c("suggest", "empty", "none"),
auto_complete_list = NULL
)
Examples
if (FALSE) { # \dontrun{
library(shiny)
library(shinyAce)
shinyApp(
ui = bslib::page_fluid(
exprs_ui(value_name = "bla", value_val = "blabla")
),
server = function(input, output) {}
)
} # }