This is a mootools plugin which allows to listen for word typed events, and execute given callbacks if the word belongs to a given dictionary. Dictionary can be populated with words or regular expressions. Instead of listening for single chars, wordevents can listen for words (a word is considered to be a set of characters typed with a time interval minor than the digit_interval option). Callbacks functions are called passing the list of events which formed the word, the word itself and binded to the target element.
Actually it requires only some parts of it, the selector engine, the Options Mixin and the Events functions.
Some options available:
wordevents has been tested with:
If you find errors, bugs or simply have some annotations or advises, please comment here or submit them to the project page hosted on github.