Learn R Programming

bscui (version 0.1.6)

click_bscui_element: Trigger a click event on a clickable element

Description

Trigger a click event on a clickable element

Usage

click_bscui_element(proxy, element_id, dbl_click = FALSE)

Value

the provided proxy object

Arguments

proxy

a bscui_Proxy object

element_id

element identifier on which the click will be triggered

dbl_click

logical indicating the type of click (default: FALSE => single click is triggered)

Examples

Run this code
if(interactive()){
   from_shiny <- new.env()
   shiny::runApp(system.file(
      "examples", "shiny-anatomogram", package = "bscui"
   ))
   for(n in names(from_shiny)){
      bscui(from_shiny[[n]]) |> print()
   }
}

Run the code above in your browser using DataLab