jquery-inline-confirmation icon indicating copy to clipboard operation
jquery-inline-confirmation copied to clipboard

Event delegation and triggering of original event

Open sandstrom opened this issue 13 years ago • 2 comments

  • Using event delegation, to support dynamically generated html (Ember, Backbone, Batman.js etc).
  • The original event is triggered upon confirmation, to avoid callbacks.

Feel free to cherry-pick however you like — from nothing to all of it!

sandstrom avatar Jul 12 '12 09:07 sandstrom

Thanks for the update! I'll take a deeper look and merge it in the next few days. I'll probably add an 'alias' for the original $.fn use though.

fredwu avatar Jul 16 '12 13:07 fredwu

+1

jamesmoriarty avatar May 26 '14 22:05 jamesmoriarty