tipso icon indicating copy to clipboard operation
tipso copied to clipboard

Feature request: Delegation

Open texelate opened this issue 7 years ago • 0 comments

Great plugin!

How about adding delegation so you can bind a single event to a parent element? E.g. $('.parent').tipso({ delegate: '.tooltip' })

Obvious reasons are:

  • Better performance if lots of tooltips on a page
  • Easier to work with dynamically created elements (e.g. when building a SPA)

Thanks!

texelate avatar Nov 24 '16 07:11 texelate