For the complete documentation index, see llms.txt. This page is also available as Markdown.

Callback Handlers

Callback Handlers used to configure and extend SA5 module functionality.

SA5 uses callbacks for two purposes;

  1. Specifying configuration options, for modules which have them

  2. Notifying custom code handlers of state changes that the site owner may want to specially handle

An example callback;

<script>
window.sa5 = window.sa5 || [];
window.sa5.push(['getMembershipRoutingConfig', 
  (config) => {
  
    // ... your custom code here ... 

    return config;
  }]); 
</script>

Defined Callbacks

Callback Name
Module
Use

getMembershipRoutingConfig

Memberships

userInfoChanged

Memberships

Event Notification when new user information is loaded

breakpointChanged

HTML

Event Notification on a breakpoint change

Last updated