This waits for a thirdparty library to finish loading, then executes a JavaScript function with turnOn and passes a domAttribute as parameter. The executed JavaScript then triggers thirdparty library code, which modifies the DOM element in the page that causes an animation.
In this tutorial you'll learn how to:
- Include an external library
- Execute a JavaScript function after the library has finished loading