λJS fx API reference
Legend: Optional parameters, Function shortcut

Effects

AJS.fx.highlight(elm, options)

Yellow highlight the element.
Code example:
Live example:
Fluffy
Run

AJS.fx.fadeIn(elm, options)

Fade the element in.
Code example:
Live example:
Fluffy
Run

AJS.fx.fadeOut(elm, options)

Fade the element out.
Code example:
Live example:
Fluffy
Run

AJS.fx.setWidth(elm, options)

Animate resize of width.
Code example:
Live example:
Fluffy
Run

AJS.fx.setHeight(elm, options)

Animate resize of hieght.
Code example:
Live example:
Fluffy
Run

AJS.fx.Style(elm, property, options)

Executes an effect from one position to the other.
Code example:
Live example:
Fluffy
Run

AJS.fx.Styles(elm, options)

Execute an effect on multiple CSS properties.
Code example:
Live example:
Fluffy
Run