Skip to main content

turnOn Tutorials

Tutorial Home

Learn how to execute JavaScript functions using the 2sxc turnOn. Extend basic usage by passing data, awaiting conditions and more.


Examples of using turnOn

  1. Basic turnOn usage and activation
    Activate turn-on and execute local JavaScript functions
  2. Passing parameters with turnOn
    Pass parameters to JavaScript functions with turnOn
  3. Passing module parameters with turnOn
    Pass module parameters to JavaScript functions with turnOn
  4. Passing anonymous objects as parameters with turnOn
    Pass anonymous object to JavaScript functions with turnOn
  5. Wait for multiple scripts
    Await a library before executing JavaScript functions
  6. Await custom conditions through functions
    Await custom conditions before executing JavaScript functions
  7. Await system scripts
    Await a system script before executing JavaScript functions