inst/examples/eventHandlers.R

characterOnlyHandler <- function() {
  txt <- NULL
  text <- function(val,...) {
    txt <<- c(txt, val)
  }

  getText <- function() { txt }

  return(list(text=text, getText=getText))
}
omegahat/XML documentation built on Jan. 17, 2024, 6:47 p.m.