Open ismirsehregal opened 4 years ago
From a new update of shinyjs
package, the function extendShinyjs
requires functions
argument.
Therefore extendShinyjs(text = jsCode, functions = c("hidemenuItem", "showmenuItem")),
shall be used instead of extendShinyjs(text = jsCode),
您好,丁永兵已经收到您的邮件,谢谢。
Coming from here, I think it would be a good default, that when using
updateTabItems
the change isn't only affecting the body content but instead also gets visualized in the sidebar.Current behaviour:
Suggested behaviour:
Here is my approch using
shinyjs
. This however doesn't show the "expanding animation" which can be seen when opening a childful menuItem manually.Edit: updated code according to @Crparedes' comment.