jQuery.awesomeCloud.plugin icon indicating copy to clipboard operation
jQuery.awesomeCloud.plugin copied to clipboard

awesomeCloud on multiple elements on the same page with the same class

Open dingo-d opened this issue 10 years ago • 1 comments

I have several elements with the same class on my site that have different tags in them. Is it possible to use the same initialization for every one, or do I need to call it multiple times, adding different classes for each one?

dingo-d avatar Apr 09 '15 08:04 dingo-d

Ok, I managed to make it that one canvas is in one element with

$(".element").each(function(){ $(this).awesomeCloud(settings); });

with settings predefined in a variable, but they are still all crammed in one element (even though in DOM they are all in their respective divs)

dingo-d avatar Apr 09 '15 08:04 dingo-d