Function_v2 Op
trigger from external function when embedded into a website
Summary (oneliner)
<p>Execute / trigger from an external script, useful when embedding a cables-patch into a website.</p> <p>e.g: Function Name is <code>myFunction</code>, then you can trigger ops connected to <code>Next</code> via this javascript code:</p> <p><code>myPatch.config.myFunction()</code></p>
- Ops.Cables.Function_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
No op example found on this server
INPUT PORTS
<p>The name of the function you want to define, e.g. when you name the function <code>myFunction</code> you can trigger it from your JavaScript-Code using <code>CABLES.patch.config.myFunction();</code></p>
<p>run the function from inside the cables patch</p>
<p>parameter default value if external function does not define it</p>
<p>parameter default value if external function does not define it</p>
<p>parameter default value if external function does not define it</p>
OUTPUT PORTS
<p>triggered when function has been called</p>
<p>first parameter of the called function, or default</p>
<p>second parameter of the called function, or default</p>
<p>third parameter of the called function, or default</p>