-
Notifications
You must be signed in to change notification settings - Fork 2
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
Javascript vanilla #3
Comments
For my own curiousity and learning I am attempting to do this in #4. This project is a good candidate for the experiment as its a pretty small codebase. Something I notice right away after putting in a little effort is that the public API of the library changes just to accommodate vanilla JS. So it would be next to impossible to develop jquery/vanilla in tandem. Other main issue I note is that namespaced events are not built-in to plain JS so requires some hackery. |
Tracking the discussion for namespaced jquery events here, HubSpot/youmightnotneedjquery#309 |
I've created an experimental version of this in Vanilla Js called |
Hello. I tried your .js, but when I use it identifying by class name, it only works on the first input, and not on the rest.
|
@urufudev Thanks for trying it out. It currently uses |
@urufudev I've pushed a new version of mine, it should be working now for multiple classes. I tested the main functions which is detailed in the demonstration file |
Thanks, work's fine 😄 |
will there be any possibility to do it in javascript without jquery?
i love this package
The text was updated successfully, but these errors were encountered: