View source: R/widget-output.R
| updateGgseg3dBackground | R Documentation |
Sends a message to update the background color of a ggseg3d widget in a Shiny app.
updateGgseg3dBackground(session, outputId, colour)
session |
The Shiny session object |
outputId |
The output ID of the ggseg3d widget |
colour |
Background color (hex or named color) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.