juba / shinyglide

Glide.js component for Shiny apps
https://juba.github.io/shinyglide/
91 stars 8 forks source link

Documentation Request: where to place glideControls #18

Closed JosiahParry closed 3 years ago

JosiahParry commented 3 years ago

The documentation for glideControls does not specify where the function is to be used. From this article it appears that the output ought to be saved to a variable outside of ui and server sections. Can the documentation be improved to provide more clarity?

juba commented 3 years ago

There is no obligation to use glideControls in a variable outside of ui, the fact that I did it this way in the examples was just for readability. I modified the first example by using it directly in ui declaration. Maybe it's clearer this way ?