tests/testthat/_snaps/browser_button.md

browser_button works

Code
  browser_button()
Output
  -- To be copied in your UI -----------------------------------------------------
  actionButton("browser", "browser"),
  tags$script("$('#browser').hide();")

  -- To be copied in your server -------------------------------------------------
  observeEvent(input$browser,{
    browser()
  })

  By default, this button will be hidden.
  To show it, open your web browser JavaScript console
  And run $('#browser').show();


Try the golem package in your browser

Any scripts or data that you put into this service are public.

golem documentation built on Sept. 11, 2024, 7:54 p.m.