saveWidget
(Package: htmlwidgets) :
Save a widget to an HTML file
Save a rendered widget to an HTML file (e.g. for sharing with others).
● Data Source:
CranContrib
● Keywords:
● Alias: saveWidget
●
0 images
|
Helpers to create output and render functions for using HTML widgets within Shiny applications and interactive Rmd documents.
● Data Source:
CranContrib
● Keywords:
● Alias: htmlwidgets-shiny, shinyRenderWidget, shinyWidgetOutput
●
0 images
|
prependContent
(Package: htmlwidgets) :
Prepend/append extra HTML content to a widget
Use these functions to attach extra HTML content (primarily JavaScript and/or CSS styles) to a widget, for rendering in standalone mode (i.e. printing at the R console) or in a knitr document. These functions are NOT supported when running in a Shiny widget rendering function, and will result in a warning if used in that context. Multiple calls are allowed, and later calls do not undo the effects of previous calls.
● Data Source:
CranContrib
● Keywords:
● Alias: appendContent, prependContent
●
0 images
|
Create an HTML widget based on widget YAML and JavaScript contained within the specified package.
● Data Source:
CranContrib
● Keywords:
● Alias: createWidget
●
0 images
|
Convenience function for wrapping a JavaScript code string with a <script> tag and the boilerplate necessary to delay the execution of the code until after the next time htmlwidgets completes rendering any widgets that are in the page. This mechanism is designed for running code to customize widget instances, which can't be done at page load time since the widget instances will not have been created yet.
● Data Source:
CranContrib
● Keywords:
● Alias: onStaticRenderComplete
●
0 images
|
JS
(Package: htmlwidgets) :
Mark character strings as literal JavaScript code
This function JS() marks character vectors with a special class, so that it will be treated as literal JavaScript code when evaluated on the client-side.
● Data Source:
CranContrib
● Keywords:
● Alias: JS
●
0 images
|
The htmlwidgets package provides a framework for easily creating R bindings to JavaScript libraries. Widgets created using the framework can be:
● Data Source:
CranContrib
● Keywords:
● Alias: htmlwidgets, htmlwidgets-package
●
0 images
|
scaffoldWidget
(Package: htmlwidgets) :
Create implementation scaffolding for an HTML widget
Add the minimal code required to implement an HTML widget to an R package.
● Data Source:
CranContrib
● Keywords:
● Alias: scaffoldWidget
●
0 images
|
onRender
(Package: htmlwidgets) :
Execute custom JavaScript code after rendering
Use this function to supplement the widget's built-in JavaScript rendering logic with additional custom JavaScript code, just for this specific widget object.
● Data Source:
CranContrib
● Keywords:
● Alias: onRender
●
0 images
|
Define the policy by which HTML widgets will be sized in various containers (e.g. Browser, RStudio Viewer, R Markdown, Shiny). Note that typically widgets can accept the default sizing policy (or override only one or two aspects of it) and get satisfactory sizing behavior via the automatic sizing logic built into the htmlwidgets framework (see the notes below for the most typical exceptions to this).
● Data Source:
CranContrib
● Keywords:
● Alias: sizingPolicy
●
0 images
|