Skip to content

Instantly share code, notes, and snippets.

@matsko
Created March 28, 2013 22:34
Show Gist options
  • Save matsko/5267400 to your computer and use it in GitHub Desktop.
Save matsko/5267400 to your computer and use it in GitHub Desktop.
/**
* @ngdoc function
* @name ng.animator#hide
* @methodOf ng.$animator
*
* @description
* Starts the hide animation first and sets the CSS `display` property to `none` upon completion.
*
* @param {jQuery/jqLite element} element the element that will be rendered visible or hidden
*/
animation.hide = animateAction(classes.hide, $animation(classes.hide), noop, hide);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment