Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Drop instance #172

Open
carmelodiventi opened this issue Mar 27, 2017 · 0 comments
Open

Multiple Drop instance #172

carmelodiventi opened this issue Mar 27, 2017 · 0 comments

Comments

@carmelodiventi
Copy link

carmelodiventi commented Mar 27, 2017

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?

schermata 2017-03-27 alle 13 32 50
schermata 2017-03-27 alle 13 32 58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant