This registers a callback that simply prints the callback objects in the javascript console of your web browser. A probalby more useful callback is the debug_callback
which will place you inside a debugger in your web browser allowing you to inspect the callback objects.
1 |
1 2 3 4 | figure() %>%
ly_points(1:10) %>%
x_range(callback = console_callback()) %>%
y_range(callback = console_callback())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.