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

UIMode Op

Ops.Cables.UIMode


UIMode
Collections:dataInfo  
Namespace: Ops.Cables

Op author: pandur

Outputs `true` if patch is executed in the cables editor (UI)


summary (oneliner)

This op is useful to find out if the patch is viewed from inside the cables editor UI or embedded into a website.
This can be helpful, e.g. if you want to display debug information only when working on the patch, but not when it is shown publicly (outside the editor).



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Outputs

UI (boolean Number)

True if the patch is viewed inside the cables editor


Remote Viewer (boolean Number)

True if the patch is viewed inside the cables remote viewer


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

UiMode Example

Open Example In Editor


Patches using UIMode

Changelog


add output boolean for remote viewer
2022-03-07 - stephan