Manipulate the selected tab programmatically.

Submitted by Zef Hemel on 19 April 2011 at 13:59

On 19 April 2011 at 14:01 Zef Hemel closed this issue.

On 19 April 2011 at 14:01 Zef Hemel commented:

tabSet now has an additional (optional) activeTab argument (of type String) that defines (and changes according to) the currently selected tab:


var tab = “Tab 3”
tabSet([(“Tab 1”, "", tab1), (“Tab 2”, "", tab2), (“Tab 3”, "", tab3)], activeTab=tab)
button(“Select 1”, onclick={
tab = “Tab 1”;
})


On 19 April 2011 at 14:06 Zef Hemel tagged 0.4.4

Log in to post comments