This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(shiny) | |
| library(gargoyle) | |
| ui <- function(){ | |
| tagList( | |
| actionButton("go", "Show me"), | |
| h4('Output of pass_around$data'), | |
| tableOutput("table") | |
| ) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Dynamic UI: demonstrate destroy() method on observer | |
| # This example makes use of a module that dynamically creates pages | |
| # Each server part of the module creates an observer that listens to an actionButton | |
| # Whenever a page is removed, the observer is destroyed. The UI is removed with | |
| # the nav_remove() function. | |
| library(shiny) | |
| library(bslib) | |
| sportsPageUI <- function(id, page_name) { |
OlderNewer