Skip to content
Snippets Groups Projects

Getter and setter methods for title, author, datadir and theme

Merged arsenij.ustjanzew requested to merge get_set_methods into master
4 files
+ 123
0
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 26
0
@@ -19,4 +19,30 @@ setGeneric("add_colormap", function(dashboard, ...) standardGeneric("add_colorma
@@ -19,4 +19,30 @@ setGeneric("add_colormap", function(dashboard, ...) standardGeneric("add_colorma
#' @export
#' @export
setGeneric("interactivity", function(dashboard) standardGeneric("interactivity"))
setGeneric("interactivity", function(dashboard) standardGeneric("interactivity"))
 
 
#' @export
setGeneric("interactivity<-", function(dashboard, value) standardGeneric("interactivity<-"))
setGeneric("interactivity<-", function(dashboard, value) standardGeneric("interactivity<-"))
 
 
#' @export
 
setGeneric("title", function(dashboard) standardGeneric("title"))
 
 
#' @export
 
setGeneric("title<-", function(dashboard, value) standardGeneric("title<-"))
 
 
#' @export
 
setGeneric("author", function(dashboard) standardGeneric("author"))
 
 
#' @export
 
setGeneric("author<-", function(dashboard, value) standardGeneric("author<-"))
 
 
#' @export
 
setGeneric("theme", function(dashboard) standardGeneric("theme"))
 
 
#' @export
 
setGeneric("theme<-", function(dashboard, value) standardGeneric("theme<-"))
 
 
#' @export
 
setGeneric("datadir", function(dashboard) standardGeneric("datadir"))
 
 
#' @export
 
setGeneric("datadir<-", function(dashboard, value) standardGeneric("datadir<-"))
 
\ No newline at end of file
Loading