setBrowserWindowTitle: Supply the name of a function to call, identified by its key

setBrowserWindowTitle,BrowserViz-methodR Documentation

Supply the name of a function to call, identified by its key

Description

Supply the name of a function to call, identified by its key

Usage

## S4 method for signature 'BrowserViz'
setBrowserWindowTitle(obj, newTitle)

Arguments

obj

An object of class BrowserViz

newTitle

A character string

Examples

library(BrowserViz)
browserVizBrowserFile <- system.file(package="BrowserViz", "browserCode", "dist", "bvDemoApp.html")
if(BrowserViz::webBrowserAvailableForTesting()){
  bvApp <- BrowserViz(browserFile=browserVizBrowserFile, quiet=TRUE)
  getBrowserWindowTitle(bvApp)
  setBrowserWindowTitle(bvApp, "testBrowser")
  getBrowserWindowTitle(bvApp)
  closeWebSocket(bvApp)
  }


paul-shannon/BrowserViz documentation built on Nov. 17, 2024, 1:42 p.m.