-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
extendShinyjs: missing documentation of special id treatment #229
Comments
Thanks for bringing to my attention. I wanted the However, I didn't have in mind custom extendShinyjs functions, and the fact that they can also have an |
Not namespacing Reverting this behaviour shouldn't be too difficult when #230 is merged, as one would just need to test in |
I'm generally very opposed to modifying behaviour in a breaking way, but I don't think many people use id in custom js functions inside modules. I think it'd be a good idea to remove automatic namespacing from all custom functions. |
Hello Dean,
if I call a extendShinyjs function from R with argument
id
, it gets pasted with the namespace:I could pass
asis = TRUE
to prevent this.This might be either a bug due to unexpected behavior or should be documented better. The documentation for
extendShinyjs
already includes an example with argumentid
:shinyjs/R/extendShinyjs.R
Lines 94 to 98 in 2404d5f
Maybe that would be a appropriate location to include this information?
Best reagrds
David
The text was updated successfully, but these errors were encountered: