dom
dom copied to clipboard
DOM traversal, manipulation and events aggregate library (like jQuery)
Results
18
dom issues
Sort by
recently updated
recently updated
newest added
forEach and each are aliases to each other . Example .map(fn) can be improved. There is no example .remove() , does the remove method removes it from memory ?
or similar naming, so instead of: ``` js var view = new StreamView(stream); ul.append(view.el); ``` you could do: ``` js var view = new StreamView(stream); ul.append(view); ``` although this does...
enhancement
other than `el.on('click', '.pane-close')`
enhancement
add .not
2
use case: ``` js $('li').not('.selected').doSomething(); ```
use Enumerable, perf will be lower since we have more indirection but meh, dont use this sort of tool in a hot area anyway
useful for triggering CSS transitions: `.addClass('show', 1000)`, removed after 1s
enhancement