Learn R Programming

teal.modules.general (version 0.4.1)

is_tab_active_js: JavaScript condition to check if a specific tab is active

Description

JavaScript condition to check if a specific tab is active

Usage

is_tab_active_js(id, name)

Value

JavaScript expression to be used in shiny::conditionalPanel() to determine if the specified tab is active.

Arguments

id

(character(1)) the id of the tab panel with tabs.

name

(character(1)) the name of the tab.