beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Function
Ops.Patch.Function_v2
Namespace: Ops.Patch
trigger from external function when embedded into a website

summary (oneliner)

Execute / trigger from an external script, useful when embedding a cables-patch into a website.

e.g: Function Name is myFunction, then you can trigger ops connected to Next via this javascript code:

myPatch.config.myFunction()

doc

issues

youtube id

collections

related ops

Inputs

Function Name (String)

The name of the function you want to define, e.g. when you name the function myFunction you can trigger it from your JavaScript-Code using CABLES.patch.config.myFunction();


Trigger (Trigger)

run the function from inside the cables patch


Default Parameter 1 (String)

parameter default value if external function does not define it


Default Parameter 2 (String)

parameter default value if external function does not define it


Default Parameter 3 (String)

parameter default value if external function does not define it


Outputs

Next (Trigger)

triggered when function has been called


Parameter 1 (String)

first parameter of the called function, or default


Parameter 2 (String)

second parameter of the called function, or default


Parameter 3 (String)

third parameter of the called function, or default


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Credits


Changelog


cloned op from Ops.Patch.Function
2021-03-19 - pandur

Ops.User.pandur.Function2 renamed to Ops.Patch.Function_v2
2021-03-19 - pandur

added parameter ports
2021-07-05 - stephan

Examples using Function_v2

Public Patches using Function_v2