Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

renamed animate-show-hide to sample-show-hide #5848

Closed
wants to merge 1 commit into from
Closed

renamed animate-show-hide to sample-show-hide #5848

wants to merge 1 commit into from

Conversation

robwormald
Copy link
Contributor

This always throws me off - I think it helps to make it clear that the class name is arbitrary, and what matters is the .ng-etc classes.

This always throws me off - I think it helps to make it clear that the class name is arbitrary, and what matters is the .ng-etc classes.
@caitp caitp closed this in 1cdcddb Jan 17, 2014
@caitp
Copy link
Contributor

caitp commented Jan 17, 2014

Since I didn't put a proper explanation in the commit message, I'm just dropping this here: ng-animate adds a bunch of classes during its process, and these classes (ng-animate, -add, -active, -remove, especially where is ng-hide) often confuse people, and I think this change helps make it clearer that it's not a special class decided by angular.

I've already discussed with @robwormald that similar changes might be good for other directives with animation examples which rely on $animate.addClass and $animate.removeClass

jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
This always throws me off - I think it helps to make it clear that the class name is arbitrary, and
what matters is the .ng-etc classes.

Closes angular#5848
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
This always throws me off - I think it helps to make it clear that the class name is arbitrary, and
what matters is the .ng-etc classes.

Closes angular#5848
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants