Open mrmartineau opened 8 years ago
It is an interesting suggestion but I don't think I will be doing that in the immediate future. What I wanted to create was a jQuery plugin with a simple API.
Besides, jQuery is getting better and faster and I am very excited to see if 3.0 will bring the speed boost everyone's hoping for.
I'll ensure compatibility with other libraries like Zepto if I see the demand to do so but currently there are core features on the roadmap that aren't yet finished so those are a priority.
For example, I am working on app-style realtime swipe actions because this will be a pretty cool thing to see on the web. This was actually the idea that gave birth to okayNav.
So there's a chance that I'll focus on a vanilla JS implementation but I don't reckon this will happen in the next month or two. Until then, we can only hope for a generous pull request.
Keep an eye on the roadmap for more details (more like less details).
Okay.. those are good reasons. Perhaps I'll fork it and make a non-jQuery version with the same feature set..
I suggest to hold on until the swipe thingy is done. It should make a few things obsolete and change others.
I'll use this in my current project, but I'll work on a dependecy-free fork. Can I do PR after I finish?
@karlprieb you should join our Gitter. We're working together with @jonathantneal on this.
Will look forward to seeing dependency-free version. With vanilla JS it could be wrapped for use with for example Angular, React.
Having this as a jQuery plugin is extremely useful to those that use jQuery, but as I don't ever use jQuery, I would never use this plugin. Now, if you were to create it using native js you would be able to allow use for jQuery and non-jQuery users alike. @desandro does a great job of this in some of his modules, like Flickity for example: http://flickity.metafizzy.co/#initialize-with-jquery