Skip to content

Instantly share code, notes, and snippets.

Henning Kasch HenningCash

  • Kiel University of Applied Sciences
  • Kiel, Germany
Block or report user

Report or block HenningCash

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
HenningCash / alternate_clicks.js
Created Aug 16, 2014
Snap.svg alternate click plugin
View alternate_clicks.js
* Use like .click() but accepts a second callback
* example:
* element.alternateClick(function() {}, function() {});
Snap.plugin(function(Snap, Element) {
Element.prototype.alternateClick = function(first, second) {
var i = 0; {
You can’t perform that action at this time.