-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Initializing with a custom class/id #91
Comments
What would the class be attached to? If you can describe what you're trying to do with Waves that requires this extra class, then I'll understand what you mean - and why - a little better? 😄 |
Sorry, for the unclear question. I want to use waves effects on buttons in an existing project where I got buttons everywhere(around 100). Assigning the .wave-effect class to each and every buttons manually would cost me alot of time. It would make my life easier if I can directly attach the waves on 'button' elements. |
I think it will be a nice idea. Actually, feature like that already added by @hoxxep (see it here), but it still really simple implementation and only accept DOM element as parameter. I will extend Example:
|
Thank you very much for the awesome plugin and support. I think this will do the job |
In pull request #108 I've upgraded the |
I just made a little changes to |
Ok. It seems this feature is done. It will be shipped on v0.7.0 |
Is it possible to initialize the plugin with a custom class? something like,
Waves.displayEffect('.my-custom-class');
Thanks
The text was updated successfully, but these errors were encountered: