Download Flow

Version 1.0.3

Choose the Components you need

Choose compression type
YUI Compression Best bang for the buck.
No Compression Single file, includes documentation. Recommended while testing & building.
Full Source Download the whole shebang, complete with our source directory structure.
Core
Flow (16.69 kb) (4.65 kb) (2.08 kb)

The Flow namespace, Array Extras, Plugin support, and other goodies.

Dom (13.98 kb) (4.41 kb) (1.82 kb)

Enjoy a cross-browser native API. Dom fixes:

  • node.getElementsByClassName
  • node.getAttribute
  • node.setAttribute
  • node.hasAttribute
  • document.defaultView.getComputedStyle
Event (8.66 kb) (2.75 kb) (1.34 kb)

Never again worry about memory leaks. Event automagically garbage-collects any node you remove/replace, and flushes event listeners on unload. In addition, Event brings native API support for:

  • node.addEventListener
  • node.removeEventListener
  • DOMContentLoaded
  • event.preventDefault
  • event.stopPropagation
  • event.target
Extend (18.34 kb) (4.32 kb) (1.69 kb)

So the native API is fixed. Still feels a bit underpowered? Extend allows you to chain one function after another, and introduces support for:

  • node.addClass
  • node.removeClass
  • node.replaceClass
  • node.hasClass
  • node.toggleClass
  • node.getElementsByAttribute
  • node.insertAfter
  • node.getFirstChild
  • node.getLastChild
  • node.hasChildNode
  • node.getChildNodes
  • node.removeNode
  • node.getText
  • node.setText
  • node.getComputedStyle
  • node.getInnerHTML
  • node.setInnerHTML
  • document.getPosition
Query
Query (29.74 kb) (10.84 kb) (3.73 kb)

document.querySelectorAll("#foo > .bar li"); — all hail the Nyman.

Animate
Animate (9.23 kb) (4.30 kb) (1.80 kb)

A small and powerful animation library.

Rob Penner’s Easing Equations. For use with Flow.Animate
Namespace (2.01 kb) (66 b) (60 b) (required)
Back (692 b) (342 b) (167 b)
Bounce (1019 b) (515 b) (243 b)
Circ (496 b) (235 b) (130 b)
Cubic (457 b) (186 b) (112 b)
Elastic (1.50 kb) (778 b) (252 b)
Expo (625 b) (287 b) (156 b)
Quad (423 b) (179 b) (108 b)
Quart (487 b) (196 b) (116 b)
Quint (513 b) (202 b) (111 b)
Regular (427 b) (182 b) (111 b)
Sine (388 b) (189 b) (108 b)
Augment (109 b) (52 b) (56 b) (required)
Animation Plugins. For use with Flow.Animate
Accordion (4.05 kb) (2.08 kb) (987 b)
Drag (6.96 kb) (4.07 kb) (1.60 kb)
Class
Class (2.23 kb) (599 b) (333 b)

A plugin that supports class creation (via John Resig, Dean Edwards).

Cookie
Cookie (1.84 kb) (683 b) (385 b)
  • document.getCookie
  • document.setCookie
  • document.deleteCookie
Form
Form (4.23 kb) (1.55 kb) (735 b)

Includes methods for getting the value of any form field and form serialization.

  • getValue
  • toQueryString
  • toJSON
Remote
Remote (13.12 kb) (3.55 kb) (1.50 kb)

Cross-browser XMLHttpRequest support. Also adds an HttpRequest function for true compatibility and easier Ajax.

  • new XMLHttpRequest()
  • new HttpRequest()
Require
Require (1.32 kb) (522 b) (304 b) Dynamically include scripts on your page.
Viewport
Viewport (6.41 kb) (2.03 kb) (878 b)

Includes dimension reporting, position and popup functions:

  • getSize
  • getScreenSize
  • getOuterSize
  • getScrollOffset
  • getScrollSize
  • getPosition
  • getMousePosition
  • popup