panel icon indicating copy to clipboard operation
panel copied to clipboard

Let tabs accept a callable?

Open ahuang11 opened this issue 4 years ago • 1 comments

pn.Tabs([callable, callable2], dynamic=True)

The callable is triggered upon clicking.

ahuang11 avatar Nov 20 '21 16:11 ahuang11

You can already combine Tabs with ParamFunction or ParamMethod components which will let you achieve this. Would be good to document in the Tabs docs though.

philippjfr avatar Nov 22 '21 11:11 philippjfr