Skip to content

Latest commit

 

History

History

helper-jquery-nano

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

DOM Selector

A mix and match of a collection of helper functions to select and manipulate the DOM, bundled into global namespace. In other words, think of it as a stripped-down version of jQuery library 🤓!

On this repo

  • $() is an alias for .querySelector()
  • $$() is an alias for .querySelectorAll()
  • $on() is an alias for .addEventListener()
  • $parent() is a traverser to pick the kinda parent
  • $each() is a traverser to perform an action for every item in the collection

Read the journal notes to learn a bit more about this repository's work in use.

Getting started

For minimum requirements, you will want to refer this link.

Run from source

You'll want to have a look at this link.