elements
elements copied to clipboard
A minimal DOM library built on top of prime
For events that don't bubble, like `focus` or `blur`, it is very useful being able to pass useCapture to the emitter from the `delegate`.
Adding traversal tests
I'd like to request a feature: In Mootools it was possible to change the styles through `.setStyle(x, v)`, so a method like ``` javascript var left = elements.style('left') elements.style('left', left+5)...
Hi, I'm a sucker for naming/branding things and it just occurred to me that the name "elemental" stays on-topic and on-theme with the name "prime" (1. fundamental, basic, essential. 3....
Much like mootools-more Elements.from. Especially with template engines like handlebars, moustache, and all those others that generate a string with html. ``` js var html = require('elements/html') html("it's-a me, Mario!").insert('#wrapper')...
Some special attributes/properties have special methods, like `.id()`, `.type()`, however not all of them. It's confusing now if those methods exists for the attribute I like to get, or not....