Skip to content

Minimalist DOM manipulation library

Notifications You must be signed in to change notification settings

bsoicher/NanoQuery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

NanoQuery

Minimalist DOM manipulation library with a jQuery like syntax. Covers a few basic but usefull functions in a tiny package (0.476 KB minified). Not meant to be a full framework, just a basic set of tools for small web projects.

Example:

$("div").on("click", function(){
  $(this).css("color", "red").attr("class", "red");
  console.log("New color is:" + $(this).css("color"));
});

Was more of a learning excercise for chainable methods and such. Could be extended easily, but for anything serious I'd recommend going with JQuery or Zepto.

About

Minimalist DOM manipulation library

Resources

Stars

Watchers

Forks