JohnCoene / cicerone

🏛️ Give tours of your Shiny apps
https://cicerone.john-coene.com
Other
187 stars 7 forks source link

Add a `run_once` argument #40

Closed yogat3ch closed 2 years ago

yogat3ch commented 2 years ago

This adds run_once as a logical argument to init that is saved in the R6 private env. The start method checks this arguments before running, and sets it to FALSE after one run. This is for situations where returning to a tab would otherwise run a guide twice.

If you think this argument would be better as an argument to the initialize method let me know!

Thanks!

yogat3ch commented 2 years ago

Closes #39