GithubHelp home page GithubHelp logo

rakesh-mohanta / laroux.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eser/laroux.js

2.0 4.0 0.0 977 KB

Micro jquery substitute for modern browsers

Home Page: https://larukedi.github.io/laroux.js/

License: Other

JavaScript 99.40% CSS 0.54% PHP 0.06%

laroux.js's Introduction

laroux.js

laroux.js logo

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 has Ajax, Anim, CSS, Date, DOM, Events, Forms, Helpers, MVC, Stack, Templates, Timers, Triggers, UI, Vars and Wrapper components.

Build Status Scrutinizer Quality Score

For Users

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 (~30K).
  • Want to be working with native DOM objects instead of wrappers.
  • Want to leverage the debug console's autocomplete/fluent typing.
  • Are not satisfied with the performance of other libraries on mobile devices.
  • See FAQ for more.

Guides

Installation

The latest version is always downloadable from releases page, it's also hosted on jsdelivr.com CDN. Including laroux.min.js and laroux.min.css would be enough to start using laroux.js in your web project. For example:

<link rel="stylesheet" href="//cdn.jsdelivr.net/laroux.js/1.4/laroux.min.css" />
<script src="//cdn.jsdelivr.net/laroux.js/1.4/laroux.min.js"></script>

Sample Usage

$l.ready(function() {
    var buttons = $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?')) {
                return false; // cancel event
            }
        }
    );
});

For Developers Who Want To Contribute

Installation

Alternative 1: Zip Package

Download the package and launch npm install.

Alternative 2: Git

On Terminal or Command Prompt:

git clone https://github.com/larukedi/laroux.js project
cd project
npm install

Requirements

License

See LICENSE

Contributing

See contributors.md

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.

laroux.js's People

Contributors

mayoz avatar afshinator avatar

Stargazers

Yasin ATEŞ avatar Eser Ozvataf avatar

Watchers

Rakesh mohanta avatar James Cloos avatar Eser Ozvataf avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.