Element-Wait 1.0.5

Makes asynchronous method calls fun.

This Plugin is part of MooTools PowerTools! and has been created by Scott Kyle.



Details

Author
Christoph Pojer
Current version
1.0.5
GitHub
cpojer/element-wait
Downloads
2485
Category
Utilities
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: Core/Element

How to use

This plugin allows you to chain method calls on elements. Very useful for CSS-Transitions!

// basic usage
element.wait(1000).addClass('loaded').removeClass('loading');

// you can even chain waits
element.wait(500).fade('in').wait(2000).fade('out');

Build

Build via Packager, requires MooTools Core to be registered to Packager already

packager register /path/to/element-wait
packager build Element.Wait/* > element-wait.js

To build this plugin without external dependencies use

packager build Element.Wait/* +use-only Element.Wait > element-wait.js

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus