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

Bind to custom selector? #17

Open
rafegoldberg opened this issue May 29, 2015 · 0 comments
Open

Bind to custom selector? #17

rafegoldberg opened this issue May 29, 2015 · 0 comments

Comments

@rafegoldberg
Copy link

Heyyo, this plugin looks awesome. Quick q: is there an option to use space.js with a custom selector? It's a pretty common jQuery plugin pattern, I believe. Just for clarity, I'm imagining something along these lines:

$('.custom-spaceframe-class').space()

or by overriding the plugin's default options, like:

$.space({
   selector: '.custom-spaceframe-class'
});

Any chance this is possible, or will be implemented at some future point? Maybe I missed something in the documentation, or possibly I'm just being dumb! But I'd appreciate being pointed in the right direction, or really any input/advice! Thanks.

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