-
Notifications
You must be signed in to change notification settings - Fork 21
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
delay attribute not fully working in bs_embed_tooltip #50
Comments
I don't think that I am supporting lists to be translated as attributes - so I think this is where the problem is. Let me think a bit on how lists might be supported. |
Hi @dylancis, I have added support for lists, so that your example should work. The core function, library("bsplus")
bs_attr(list("show" = 3500, "hide" = 50)) {"show":3500,"hide":50} I have pushed this change to master, can you install the dev version and see if this solves your problem? Thanks, Ian |
HI @ijlyttle , Dylan |
No problem, thanks for raising the issue! |
as per bs doscs the delay attribute should accept:
delay: { "show": 500, "hide": 100 }
However trying the R equivalent failed(i.e. get ignored) while passing a single a number (hence applied to both show and hide works). Not sure If I am doing anything wrong with the syntax but JSONifying my argument looks file:
How do I apply different number to show and hide parameters please?
Reproducible example (delay argument has no impact):
While single number works fine:
The text was updated successfully, but these errors were encountered: