w2tabs: Tabs. See w2ui docs

Description Usage Arguments

View source: R/w2ui.R

Description

Tabs. See w2ui docs

Usage

1
w2tabs(id, active = 1, tabs = NULL, js.on.render = NULL, add.header = TRUE)

Arguments

id

the id of the whole tabset

active

the index of the initially shown tab

tabs

a list of tabs each tab is itself a list. Example: tabs=list(list(id="newTab",caption="New Tab", div_id="tab4div", closable=TRUE, keep_closed_content=FALSE)))

  • id - the id of the tab

  • caption - the caption shown on the tab

  • div_id - the id of the div that contains the tab content

  • closable - if TRUE the tab can be closed by pressing on an "x" icon

  • keep_closed_content if FALSE (default) the tab div with div_id will be removed when the tab is closed. If TRUE the div will only be hidden.


skranz/shinyEventsUI documentation built on April 4, 2021, 5:13 a.m.