Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Added missing imageloaddone event, likely removed during a codebase r…
Browse files Browse the repository at this point in the history
…ewrite and was never reintroduced
  • Loading branch information
terrymun committed Feb 22, 2017
1 parent 0698be5 commit 1beb60c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 5 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -648,14 +648,17 @@ <h4 id="overlay-images">Overlay images</h4>
$('#fluidbox-toggle').prop('checked', true).trigger('change');

})
.on('imageloaddone.fluidbox', function(e) {
writeLog(e.type, 'Target image successfully loaded.', '#043865');
})
.on('openstart.fluidbox', function(e) {
writeLog(e.type, 'Initializing opening of Fluidbox instance.', '#08589e');
})
.on('computeend.fluidbox', function(e) {
writeLog(e.type, 'Recomputing ghost element of Fluidbox completed.', '#8c6bb1');
writeLog(e.type, 'Recomputing ghost element of Fluidbox completed.', '#4eb3d3');
})
.on('openend.fluidbox', function(e) {
writeLog(e.type,'Transition to opened Fluidbox completed.', '#4eb3d3');
writeLog(e.type,'Transition to opened Fluidbox completed.', '#8c6bb1');
})
.on('closestart.fluidbox', function(e) {
writeLog(e.type, 'Initializing closing of Fluidbox instance.', '#f46d43');
Expand Down
Loading

0 comments on commit 1beb60c

Please sign in to comment.