Callback Handlers
Callback Handlers used to configure and extend SA5 module functionality.
Last updated
Was this helpful?
Callback Handlers used to configure and extend SA5 module functionality.
Last updated
Was this helpful?
Was this helpful?
SA5 uses callbacks for two purposes;
Specifying configuration options, for modules which have them
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>