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

breakpointChanged

HTML

Last updated