Key features I want in the library:
- DOM selection, the DOM elements must be selected with querySelector... (NOT with getelementby...)
- hide method, similar to jquery syntax ""$('p').hide();"
- click event method
- Chaining, jquery style
- working in latest versions of Chrome, Firefox, etc.
Here some code examples of thing i want to have:
$('p'); // gets all paragraph elements in the page
$('p').hide(); // hides all paragraph elements in the page
$('p').click().hide(); // hides the SINGLE paragraph element that has been clicked on
$(this).... // THIS will have the element clicked on
Final note: The library doesnt have to be called with $, it could be any Letter or Character, but I would like to be able to change this is need, so commented code is prefererred..
I can implement your request using JQuery which is very minimal and easy to maintain. I program in JQuery everyday and I often tackle these issues. Let me know if you are interested, thank you.