Skip to content

Instantly share code, notes, and snippets.

@charleshimmer
Last active April 21, 2021 02:36
Show Gist options
  • Save charleshimmer/5497283 to your computer and use it in GitHub Desktop.
Save charleshimmer/5497283 to your computer and use it in GitHub Desktop.
When is BV done loading / deferred object.
var bvrr = $BV.ui('rr', 'show_reviews',{
productId : 'product1' }
);
bvrr.done(function(){
console.log('reviews loaded');
});
var bvqa = $BV.ui('qa', 'show_questions',{
productId : 'product1' }
);
bvqa.done(function(){
console.log('questions loaded');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment