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

Function_v2 Op

Ops.Patch.Function_v2


Function
Namespace: Ops.Patch

Op author: pandur

trigger from external function when embedded into a website


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()



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 Documentation 

Patches using Function_v2

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