-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect if cicerone is running or not #20
Comments
I am not sure if this issue has gained any traction; however, it would be very useful to have this feature. While working on a Shiny app, I was hoping to change some inputs on the Shiny server side while cicerone was running, but found no clear way to reset the values when cicerone was closed. I ended up with something like this:
Which enabled me to notify Shiny when cicerone was closed and then reset the inputs as needed. It would be nice to make this a bit cleaner on cicerone. |
Hi, I'm doing a self-promotion here (because this repo seems a bit inactive): this is possible with The syntax of this package is very similar to |
It would be nice to be able to detect whether cicerone is running or not (this was already mentioned in #4 but I create a separate issue for that).
driver.js
provides an API method for that (isActivated
) but I couldn't implement that because:this is not the same as
_cicerone_next
for example, because_cicerone_next
is only available whencicerone
is running, and ifcicerone
is running, well,isActivated
will necessarily provideTRUE
So I tried to create another JS function (similar to
Shiny.addCustomMessageHandler('cicerone-start'...
for example) but I couldn't find a way to updateisActivated
when the shiny app was running.Is it possible to do that?
The text was updated successfully, but these errors were encountered: