new Heidelberg($('#Heidelberg-example-1'), {
  previousButton: $('#previous'),
  nextButton: $('#next'),
  onPageTurn: function(el, els) {
  }
});

new Heidelberg($('#Heidelberg-example-2'), {
  canClose: true,
  arrowKeys: false,
  concurrentAnimations: 5
});

@@ -132,16 +132,118 @@
  els) %7B%0A
+    console.log('Page turned');%0A  %7D,%0A  onSpreadSetup: function(el) %7B%0A    console.log('Spread setup');%0A
   %7D%0A%7D);%0A
@@ -352,12 +352,223 @@
 ions: 5%0A%7D);%0A
+%0Avar progressIndicators = function(page, el)%7B%0A  var indicators = el.parents('.book-module').find('.book-module-indicator');%0A  indicators.removeClass('filled');%0A  indicators.slice(0, page).addClass('filled');%0A%7D;%0A

Add callback examples