Hide Shiny Tabs with ShinyJS

js_tab_hide(id, values, fxn = "hide")

Arguments

id

ID of a tabsetPanel

values

One or more values of a tabPanel (see the value parameter)

fxn

Name of JavaScript call function

Value

A string with a JavaScript function to hide a set of tabs

Note

This function is designed to run custom JavaScript code using shinyjs::extendShinyJS(); use of custom JavaScript code requires the V8 package. V8 requires a local install of either the V8 JavaScript Engine or Node.js

See also

shinyjs::extendShinyJS() shiny::tabPanel()

Other shiny: js_tab_key()

Other shinyjs: js_tab_key()