R/function.modify_stop_propagation.r

Defines functions modify_stop_propagation

# https://community.rstudio.com/t/shinydashboard-keep-sidebar-tab-expanded-while-other-tab-is-clicked-expanded/10192/2
modify_stop_propagation <- function(x) {
  x$children[[1]]$attribs$onclick = "event.stopPropagation()"
  x
}
ChristopherBarrington/seuratvis documentation built on Sept. 6, 2021, 11:39 p.m.