We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, it is not easy to create header and footer with custom server logic, one can only create static header and footers in teal easily.
The way to make them interactive is to manually modify the server function like this:
library(teal) app <- init( data = teal_data(IRIS = iris, MTCARS = mtcars), modules = modules(example_module()), header = tags$div(actionButton("click_me", "Click Me!"), textOutput("click_count")), footer = tags$div("Static footer") ) body(app$server)[[length(body(app$server)) + 1]] <- quote( output$click_count <- renderText({ paste("You clicked the button", input$click_me, "times") }) ) shinyApp(app$ui, app$server)
It will be nice if we can provide the server logic in an easy way so we can create header and footers with interactivity.
The text was updated successfully, but these errors were encountered:
teal::init
No branches or pull requests
Feature description
Currently, it is not easy to create header and footer with custom server logic, one can only create static header and footers in teal easily.
The way to make them interactive is to manually modify the server function like this:
It will be nice if we can provide the server logic in an easy way so we can create header and footers with interactivity.
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: