<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.
Each call to
onStaticRenderComplete will result in at most one
invocation of the given code. In some edge cases in Shiny, it's possible for
static rendering to happen more than once (e.g. a
contains static HTML widgets).
onStaticRenderComplete calls only
schedule execution for the next static render operation.
callback is a
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.