The downside is you dont get jqueryspecific css selectors, but of course zepto. You can link the file, or you can make your own build with the touch module added. If you use jquery, you already know how to use zepto. Im going to take a different approach from the other answerers. Read the data module of zepto source code develop paper. They are published on you can use githubs web interface to make quick changes to documentation for specific zepto features example. Zepto docs are written in markdown and live in the ghpages branch. Reading the gesture module of zepto source code develop paper. First of all, you will need a copy of jquery or zepto to use lazy successfully in your project. Create your free github account today to subscribe. Looking at anything from navigator is ridiculous, because youre essentially just making a guess as to whether or not the library will work in that browser as opposed to knowing exactly whether or not it will work. Responsive modal dialog window for jquery, zepto and angularjs. Even the ajax and animation functionality are available as separate modules, should the need arise.
If youd like to participate in developing jquery, peruse our contributor site for more information. Zepto is build with ajax callbacks deferred event ie selector zepto modules. Zepto is a minimalist javascript library for modern browsers with a largely jquerycompatible api. Another area where zepto manages to be small is how it manages to avoid feature bloat. As we all know, for historical reasons, the click events on the mobile terminal will have300msleft right delay,zeptooftouchthe module solves the problem of mobile terminal click delay and provides slidingswipeevent. Reading the zepto source series has been put on github. Flexslider, like many jquery plugins or extensions, requires jquery. Reading the gesture module of zepto source code develop. Zepto is a minimalist javascript library for modern browsers with a largely. Tools and methods of zepto core module develop paper. If you noticed any bug, please open an issue on github. Please read our contribution guidelines for information on how to contribute get in touch. The core library doesnt seem to include any extraneous functionality. Zepto is open source software and is released under the developer and businessfriendly mit license.
To start contributing, fork git repository from github, clone the forked repository and make your changes according to instructions below. You can use githubs web interface to make quick changes to documentation for. If youve spotted some areas of code that could be improved, please feel free to discuss it on the developing jquery core forum. Less than 3 kb minified and gzipped fully responsive modal desktop and mobile devices angularjs native implementation activated or not full customization with the css file included. However, since zepto is apicompatible with jquery, most likely flexslider will work out of the box with jquery.
While many of the existing answers work fine when loading zepto. Heres a link to zeptos open source repository on github. The big advantage of sticking with jquery is that it has a huge ecosystem of plugins, and compatibility with zepto. Zepto is a minimalist javascript library for modern browsers with a largely jquery compatible api. More than 40 million people use github to discover, fork, and contribute to over 100 million projects. Light and open source responsive lightbox plugin with focus on performance, for jquery and zepto. By default the touch module is not included into zepto dist. Zeptoofdatamodule to getdomnodedataattribute data, and storagedomrelevant data. The code is hosted and developed in the jquery github repository. Issues 8 pull requests 4 projects 0 actions security 0 pulse. Read the touch module of zepto source code develop paper.
Zepto is open source software and is released under the developer and business friendly mit license. We need all three major platforms to work mac, linux and windows. Skipping on other features you dont use can make your total savings even bigger. For accurate results, please disable firebug before running the tests. Filter by license to discover only free or open source alternatives.