elzoy
elzoy

Reputation: 5445

Angular2 - no animation in API

My question is - has something changed since Angular2 went out of beta? I see no Animate in API and no information about what exactly will happen with that.

Could you give me an answer is there something announced about animation? Thank you.

Upvotes: 3

Views: 915

Answers (2)

Günter Zöchbauer
Günter Zöchbauer

Reputation: 658135

update

Animation support became available in Angular2 RC.2

https://angular.io/docs/ts/latest/guide/animations.html

original

AnimationBuilder should be available from @angular/platform-browser. Animation seems to not be exported.

I guess this is because the new Angular-animation module is about to be shipped.

Upvotes: 1

Ankit Singh
Ankit Singh

Reputation: 24945

For now, a workaround would be to

import {AnimationBuilder} from '@angular/platform-browser/src/animate/animation_builder';

Upvotes: 1

Related Questions