R/invoke-method.R

Defines functions invoke_method

invoke_method <- function(widget, func_name, ...) {
  pos <- length(widget$x$calls) + 1
  widget$x$calls[[pos]] <- list(funcName = func_name, args = list(...))
  widget
}

#push_to_prop <- function(widget, prop, ...) {
#  pos <- length(widget$x[[prop]]) + 1
#  widget$x[[prop]][[pos]] <- list(...)
#  widget
#}

Try the deckgl package in your browser

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

deckgl documentation built on March 7, 2023, 5:37 p.m.