Skip to content

Conversation

@christopherthielen
Copy link
Contributor

fix(ui-view) use static renderer when animations are not enabled
closes #2485

…fix(ui-view) use static renderer if animations not enabled . Closes #2485
christopherthielen added a commit that referenced this pull request Feb 6, 2016
feat(ui-view): Add noanimation attribute to specify static renderer.
closes #2485
@christopherthielen christopherthielen merged commit c4b30ef into angular-ui:master Feb 6, 2016
if (!!attrs.noanimation) return statics;

function animEnabled(element) {
if (ngMajorVer === 1 && ngMinorVer >= 4) return !!$animate.enabled(element);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

disabled anim on a per-element basis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

$stateChangeSuccess is fired before previous state $scope is destroyed in 0.2.16

2 participants