- Notifications
You must be signed in to change notification settings - Fork0
Micro jquery substitute for modern browsers
License
davgit/laroux.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project is a jQuery substitute for modern browsers and mobile devices. But instead of offering some wrappers and own dynamics, it simply provides helper functions to achieve the same objectives as jQuery or Zepto.
Even though keeping compactness is the primary concern of this library, it does contain lightweight versions of some concepts/components, including some UI helpers and MVC.
So far, it hasAjax,Anim,CSS,Date,DOM,Events,Forms,Helpers,MVC,Stack,Templates,Timers,Triggers,UI andVars components.
laroux.js
is right for you if you:
- Complain about people who do not know the difference between jQuery and Javascript.
- Love working with more compact, organized libraries with smaller sizes (~28K).
- Want to be working with native DOM objects instead of wrappers.
- Get pace with debug console's autocomplete/fluent typing.
- Are not satisfied from other libraries' performances on mobile devices.
SeeGitHub Page for feature demonstrations and benchmarks.
Seewiki page for documentation.
Download the latest version forreleases page, and includelaroux.min.js
andlaroux.min.css
in your web project.
$l.ready(function(){varbuttons=$l(['.confirm-action']);$l.css.setProperty(buttons,'background-color','crimson');$l.dom.setEvent(buttons,'click',function(event,element){if(!confirm('Are you sure to do it?')){returnfalse;// cancel event}});});
Alternative 1: Zip Package
Downloadthe package and launchnpm install
.
Alternative 2: Git
On Terminal or Command Prompt:
git clone https://github.com/larukedi/laroux.js projectcd projectnpm install
- NPM (https://npmjs.org)
- Grunt (http://gruntjs.com)
SeeLICENSE
It is publicly open for any contribution. Bugfixes and suggestions are welcome.
- Fork the repo, push your changes to your fork, and submit a pull request.
- If something does not work, please report it using GitHub issues.
About
Micro jquery substitute for modern browsers
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Languages
- JavaScript99.1%
- Other0.9%