Custom Components

Before adding any custom code to a LC template based lesson, check the Interactions Catalog → to make sure the particular interaction has not been created before.

Default jQuery Based

To add or create a custom component using jQuery:

  • Add a module-custom.js file to the /jquery folder

  • Link the new file to the pageTemplate.php file

  • Add custom jQuery code to the new module-custom.js file

Last updated