Last active
February 5, 2016 19:37
-
-
Save steveosoule/b0f08972aaaa831c6bb8 to your computer and use it in GitHub Desktop.
Miva & Search Spring - After Result Change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on('Miva.SearchSpring.AfterResultsChange', function(){ | |
// console.log('Miva.SearchSpring.AfterResultsChange'); | |
// Do something | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SearchSpring.Catalog.init({ | |
// ... | |
afterResultsChange: function() { | |
$(document).trigger('Miva.SearchSpring.AfterResultsChange'); | |
} | |
// ... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment