Created
October 22, 2012 06:27
-
-
Save aokolish/3929973 to your computer and use it in GitHub Desktop.
Foundation 3 Reveal Options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#myModal').reveal({ | |
animation: 'fadeAndPop', // Possible options: fade, fadeAndPop, none | |
animationSpeed: 300, //Speed at which the reveal should show. How fast animtions are | |
closeOnBackgroundClick: true, //Should the modal close when the background is clicked? | |
dismissModalClass: 'close-reveal-modal', //Specify a class name for the 'close modal' element. | |
open: function(){}, //callback function that triggers 'before' the modal opens. | |
opened: function(){}, //callback function that triggers 'after' the modal is opened. | |
close: function(){}, //callback function that triggers 'before' the modal prepares to close. | |
closed: function(){} //callback function that triggers 'after' the modal is closed. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment