0

I am trying using .on() with hoverpulse plugin for applying it to dynamically loaded contents but not getting a way out. It will be very kind if someone can help. Thanks in advance.

JQUERY CODE TO CALL HOVERPULSE FUNCTION

$(selector).hoverpulse({

    size: 40,  // number of pixels to pulse element (in each direction)
    speed: 400 // speed of the animation 
})

HOVERPULSE FUNCTION

$.fn.hoverpulse = function(options) { CODE GOES HERE}
Gabriele Petrioli
  • 191,379
  • 34
  • 261
  • 317
Abhinav
  • 961
  • 2
  • 11
  • 17

1 Answers1

1

The on syntax is for event binding/handling. Not for plugins..

Gabriele Petrioli
  • 191,379
  • 34
  • 261
  • 317