beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

SideBarSwitch Op

Ops.Sidebar.SideBarSwitch


SideBarSwitch
Namespace: Ops.Sidebar

Op author: pandur

Test Patches: 1 Test

add tabs or switchbar to a sidebar




Inputs

link (Object)
Names (Array)
Style index (integer /Number)
Text (String)
Input (integer /Number)

Default Item

Set Default (Trigger)
Grey Out (boolean /Number)

Default Item

Default (Number)

Outputs

childs (Object)
Index (Number)
String (String)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Example Sidebar Switch

Sidebar Switch allows you to add a group of switches or tabs into your sidebar.

The number of switches/tabs depends on the array that you input to the Sidebar Switch OP.

In this example a toggle will change between a Switch or a Tab style for the 4 options in the SideBarSwitch OP.
A Parse Array OP provides the names: TAB1-TAB4 here.

Open Example In Editor

Patches using SideBarSwitch

Changelog


created op
2021-06-01 - pandur
Ops.User.pandur.sidebartabs renamed to Ops.Sidebar.SideBarSwitch
2021-06-01 - pandur
react properly to disconnecting parent
2022-02-03 - stephan