SideBarSwitch Op

SideBarSwitch

add tabs or switchbar to a sidebar



Full Name
  • Ops.Sidebar.SideBarSwitch
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


Example Patch 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 In Editor

INPUT PORTS


link (Object)
Names (Array)
Style index (Number:

<i>integer</i>

)
 Tabs  Switch 
Text (String)
Input (Number:

<i>integer</i>

)

Default Item

Set Default (Trigger)
Grey Out (Number:

<i>boolean</i>

)

Default Item

Default (Number)

OUTPUT PORTS


childs (Object)
Index (Number)
String (String)

Patches using SideBarSwitch

  • Examples
  • Public
  • My Patches

Changelog


newcreated opuser avatarpandur - 2021-06-01 08:09
bugfixreact properly to disconnecting parentuser avatarstephan - 2022-02-03 12:35
featureAdded trigger output, triggered on changeuser avatarpandur - 2024-04-10 15:22