Controllers

SA5 Controllers are module-specific access points that are exposed to custom code.

These are automatically installed when a library is used, and are available on the Window object, beneath sa5.controllers.

Examples

Modals

When SA5 Modals in installed sa5.controllers.modals is available and can be used to display a specific named modal;

<script>
sa5.controllers.modals.display("modal1", true); 
</script>

Last updated

Was this helpful?