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 instances #75

Open
thomasonk opened this issue Jun 10, 2020 · 2 comments
Open

Multiple instances #75

thomasonk opened this issue Jun 10, 2020 · 2 comments

Comments

@thomasonk
Copy link

The readme says that it supports multiple instances. How should it be configured for multiple instances? I gave each instance a new gridder class (ie gridder1) and called the gridexpander to initialize each gridder instance based on the different class but that did not seem to work. Can you provide instructions on how to configure multiple instances.

Thanks

@orion3dgames
Copy link
Owner

orion3dgames commented Jun 10, 2020

Hi there, should word fine, here is a basic example with codepen showcasing multiple gridders: https://codepen.io/oriongunning/pen/dyGGOVb

Make sure there is no errors in the console, and that jquery is loaded before the gridder script. Also make sure each '.gridder-list' point to a unique #ID. (in the codepen: #content1 for ex)

@sjamesmccarthy
Copy link

Thanks for this post. Just a quick FYI; the codepen works great on Safari iOS but not the main demo does not work on Safari for iOS.

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

3 participants