Changeset View
Changeset View
Standalone View
Standalone View
src/assets/js/app.js
Show All 27 Lines | /* ------------------------------------------------------------- | ||||
Animations | Animations | ||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ | ||||
var animations = { | var animations = { | ||||
/** | /** | ||||
* Animates the elements to make a dramatic entrance. | * Animates the elements to make a dramatic entrance. | ||||
*/ | */ | ||||
enter: function() { | enter: function() { | ||||
Foundation.Motion.animateIn($("#content"), 'slide-in-up slow'); | Foundation.Motion.animateIn($("#content"), 'slide-in-up slow', null); | ||||
Foundation.Motion.animateIn($("#hero"), 'slide-in-down slow'); | Foundation.Motion.animateIn($("#hero"), 'slide-in-down slow',null); | ||||
}, | }, | ||||
/** | /** | ||||
* Gets reversed Flex direction. | * Gets reversed Flex direction. | ||||
* | * | ||||
* @param directionToToggle A valid flex-direction value | * @param directionToToggle A valid flex-direction value | ||||
* @returns {*} The reversed Flex direction | * @returns {*} The reversed Flex direction | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 182 Lines • Show Last 20 Lines |
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator