Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 431 Bytes

Creating-Dependencies.md

File metadata and controls

3 lines (2 loc) · 431 Bytes

A dependency allows you to specify JavaScript and CSS code that you want to be available to your interaction at runtime.

To add a dependency called my_dependency, create the file extensions/dependencies/my_dependency.html. Inside this file you can write lines of the form <script src="my/file/path.js"></script> specifying CSS or JS code. Alternatively you can use <script> tags to include JavaScript directly in this file.