jquery.ripples icon indicating copy to clipboard operation
jquery.ripples copied to clipboard

Must call ripples({}) before using ripples('drop'

Open salcott opened this issue 4 years ago • 1 comments

Trying to use this library (thank you, by the way, it is beautiful) and didn't realize you have to call ripples() on the target element before trying to call ripples() with the 'drop' method option. This should be added in the docs, used quite a few hours working to figure it out.

salcott avatar Nov 24 '20 17:11 salcott

I don't know what's expected from jQuery plugins these days (I haven't used jQuery in forever), but the readme does say that you initialize the plugin by calling .ripples() or .ripples(options). Did you miss that part or is the phrasing perhaps a bit ambiguous and can it be improved?

sirxemic avatar Dec 02 '20 14:12 sirxemic