Skip to content

Commit

Permalink
Interaction: fire 'endall' signal on blur
Browse files Browse the repository at this point in the history
  • Loading branch information
taye committed Nov 30, 2016
1 parent 9368950 commit 572b001
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,10 @@ function doOnInteractions (method) {

function endAll (event) {
for (let i = 0; i < scope.interactions.length; i++) {
scope.interactions[i].end(event);
const interaction = scope.interactions[i];

interaction.end(event);
signals.fire('endall', { event, interaction });
}
}

Expand Down

0 comments on commit 572b001

Please sign in to comment.