Function_v2 Op

Function

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


Full Name
  • Ops.Cables.Function_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub








No op example found on this server

INPUT PORTS


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

OUTPUT PORTS


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


Patches using Function_v2

  • Examples
  • Public
  • My Patches

Changelog


cloned op from Ops.Patch.Functionuser avatarpandur - 2021-03-19 08:02
Ops.User.pandur.Function2 renamed to Ops.Patch.Function_v2user avatarpandur - 2021-03-19 08:03
added parameter portsuser avatarstephan - 2021-07-05 13:47
renameOps.Patch.Function_v2 renamed to Ops.Cables.Function_v2user avatarpandur - 2023-03-08 09:52