Mask.Fx 0.1

Extends MooTools official Mask plugin to add fading functionality



Details

Author
Amitay Horwitz
Current version
0.1
GitHub
amitayh/Mask.Fx
Downloads
3002
Category
Interface
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: more/1.3.1.1: [Mask]

How to use

Syntax

new Mask.Fx(target[, options]);

Arguments

  1. target - (mixed) A string of the id for an Element or an Element reference to overlay; defaults to document.body
  2. 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.

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