The basic framework looks like;
<script>
window.fsAttributes = window.fsAttributes || [];
window.fsAttributes.push([
'cmsfilter',
(filterInstances) => {
console.log('cmsload Successfully loaded!');
const [filterInstance] = filterInstances;
// YOUR CODE HERE
},
]);
</script>
Within that setup function, you can setup additional event handlers for specific tasks;
The basic framework looks like; <script>
window.fsAttributes = window.fsAttributes || [];
window.fsAttributes.push([
'cmsfilter',
(filterInstances) => {
console.log('cmsload Successfully loaded!');
const [filterInstance] = filterInstances;
// YOUR CODE HERE
},
]);
</script>Within that setup function, you can setup additional event handlers for specific tasks;