elementals.js demos, libraries, and examples
The following libraries and demos show typical real-world usage scenarios for the elementals.js library. Like elementals.js itself they are to be considered to be released to the public domain, so you may freely use them on your website.
Multiple Demos are available
- Table and List Sorting
elementals.js also provides a very quick and easy way to sort lists and tables in your markup using the _.USort.element method.
- Form Handling
We can also very simply serialize a form for use with AJAX or as "GET" data thanks to the _.formSerialize method.
- Selecting contents of an Element
Three methods for handling the selection of content are provided by elementals. _.Select.node which actually handles the gruntwork of selecting content as if you dragged across it with the mouse, _.Select.none which deselects any current selections, and _.Node.addSelectButton which can automatically add a button to the page that when clicked will select the element it is related to.
Loosely based on the nProgress library for jQuery, eProgress.js delivers all the same functionality in a much smaller and tighter package.
Basically this just adds a
An on-page smooth-scroll to hash links script with automatic detection of the appropriate anchors. Behavior of anchors and scrolling can be changed either with global parameters, or
data-attributes on your anchors.