Multiple Drop instance
Opened this issue · 0 comments
carmelodiventi commented
Hi, i have multiple drop instance in my page:
$('.drop-target').each(function(index){
new Drop({
target: $('.drop-target')[index],
content: $('.drop-content-inner')[index],
position: 'top center',
openOn: 'click'
});
});
The last element is not instantiated, how do I create multiple dropdown on the same page?