Mask.Fx 0.1
Extends MooTools official Mask plugin to add fading functionality
Releases
Dependencies
-
_self_/_current_:
more/1.3.1.1: [Mask]
How to use
Syntax
new Mask.Fx(target[, options]);
Arguments
- target - (mixed) A string of the id for an Element or an Element reference to overlay; defaults to document.body
- options - (object) a key/value set of options
Options
- (inherited from Mask)
- fx - (object) options that will be passed to the Fx.Tween instance. Defaults to: {property: 'opacity', link: 'cancel'}
- start - (mixed) the start position for the Fx. Defaults to 0
- end - (mixed) the end position for the Fx. Defaults to 1
Events
- (inherited from Mask)
- showEnd - (function) callback to execute when the animation ends after the mask is shown.
- hideEnd - (function) callback to execute when the animation ends after the mask is hidden.