Constructor
new CustomJSAction()
- Source:
Example
//Runs window.myFunction
{
"customJS": {
"functionName": "myFunction"
}
}
//Shorthand, runs window.myFunction
{
"customJS": "myFunction"
}
An action 'customJS' that can run a custom piece of javascript code on the current context, the function must be a function on the window object
//Runs window.myFunction
{
"customJS": {
"functionName": "myFunction"
}
}
//Shorthand, runs window.myFunction
{
"customJS": "myFunction"
}