You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' @param wt A widget to add dependency to, see \code{\link[htmlwidgets]{createWidget}}
346
-
#' @param source URL or file:// of an uninstalled Javascript plugin, \cr
347
-
#' or name of an installed plugin file with suffix '.js'. Default is NULL.
348
-
#' @param ask Whether to ask the user to download source if missing. Default is FALSE
346
+
#' @param source URL or file:// of a Javascript plugin, \cr
347
+
#' file name suffix is '.js'. Default is NULL.
348
+
#' @param ask Whether to ask the user to download source if missing. Default is FALSE.
349
349
#' @return A widget with JS dependency added if successful, otherwise input wt
350
350
#'
351
-
#' @details When \emph{source} is URL, the plugin file is installed with a popup prompt to the user.\cr
352
-
#' When \emph{source} is just a file name (xxx.js), it is assumed installed and only a dependency is added. The latter option is for internal usage by echarty.
351
+
#' @details When \emph{source} is URL, the plugin file is installed with an optional popup prompt.\cr
352
+
#' When \emph{source} is a file name (file://xxx.js), it is assumed installed and only a dependency is added.
353
353
#'
354
354
#' @examples
355
355
#' # import map plugin and display two (lon,lat) locations
0 commit comments