order_bscui_elements {bscui}R Documentation

Change element order in the SVG

Description

Change element order in the SVG

Usage

order_bscui_elements(
  proxy,
  element_ids,
  where = c("front", "back", "forward", "backward")
)

Arguments

proxy

a bscui_Proxy object

element_ids

the identifiers of the element to move

where

where to move the elements (default: "front")

Value

the provided proxy object

Examples

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()
   }
}

[Package bscui version 0.1.5 Index]