erikroyall/hilo

View on GitHub
doc/dom/main.md

Summary

Maintainability
Test Coverage
Hilo DOM
========

*Document Object Manipulation (DOM)* with Hilo.

Hilo provides a number of functions for DOM Manipulation.
Here is the full list of those functions.

* [Hilo.createEl](createEl.md) - Create a element but do not insert it
* [.addClass()](addClass.md) - Adds a class to s.el.
* [.appear()](appear.md) - Make disappeared elements appear
* [.append()](append.md) - Append HTML to s.el.
* [.appendText()](appendText.md) - Append Text to s.el.
* [.attr()](attr.md) - Set or return attribute of s.el
* [.children()](children.md) - Return the children of s.el.
* [.computed()](computed.md) - Return coputed metrics of f.el.
* [.disappear()](disappear.md) - Make s.el. hide but still occupy space
* [.each()](each.md) - Execute a function on each element
* [.el()](el.md) - Return nth element in s.el.
* [.empty()](empty.md) - Remove all childNodes of s.el.
* [.filter()](filter.md) - Shortlist (filter) s.el. with a function
* [.first()](first.md) - Return the first s.el.
* [.get()](get.md) - Get s.el. in the form of an array
* [.hasClass()](hasClass.md) - Check if all s.el. has class
* [.hide()](hide.md) - Hide s.el.
* [.html()](html.md) - Set or return innerHTML of s.el.
* [.id()](id.md) - Set or return id attr of the first el.
* [.last()](last.md) - Return last el. of s.el.
* [.addClass()](addClass.md) - Adds a class to s.el.
* [.map()](map.md) - Exec. a function on s.el.
* [.next()](next.md) - Return nextElementSibling of s.el.
* [.parent()](parent.md) - Return parent of first s.el.
* [.parents()](parents.md) - Returns parents of s.el.
* [.addClass()](addClass.md) - Adds a class to s.el.
* [.rel()](rel.md) - Return array of specified HTMLElement props. of s.el.
* [.removeClass()](removeClass.md) - Removes a class from s.el.
* [.show()](show.md) - Show s.el.
* [.text()](text.md) - Set or return innerHTML of s.el.
* [.toggle()](toggle.md) - Toggle display of s.el.
* [.toggleVisibility()](toggleVisibility.md) - Toggle visibility of s.el.
* [.value()](value.md) - Set or return values of s.el