These are chat archives for angular/material

11th
Jun 2016
BeSaRa
@BeSaRa
Jun 11 2016 09:13
hi all
i have performance issue in IE 11 , any one can help me ?
Lio Fleishman
@leofle
Jun 11 2016 09:27
I'm trying to animate my routes when they appear and when they leave , someone did this already?
BeSaRa
@BeSaRa
Jun 11 2016 09:29
yes you can make it by

.ng-leave , .ng-enter
``
ui-view.ng-leave-active , ui-view.ng-enter {
opacity:0;
transition:opacity .2s ease;
}
ui-view.ng-leave , ui-view.ng-enter-active {
opacity:1;
}

``

ui-view.ng-leave-active , ui-view.ng-enter { opacity:0; transition:opacity .2s ease; } ui-view.ng-leave , ui-view.ng-enter-active { opacity:1; }
ui-view.ng-leave-active , ui-view.ng-enter { opacity:0; transition:opacity .2s ease; } ui-view.ng-leave , ui-view.ng-enter-active { opacity:1; }
ui-view.ng-leave-active , ui-view.ng-enter {
opacity:0;
transition:opacity .2s ease;
}
ui-view.ng-leave , ui-view.ng-enter-active {
opacity:1;
}
BeSaRa
@BeSaRa
Jun 11 2016 09:34
@leofle
ui-view.ng-leave-active , ui-view.ng-enter {
opacity:0;
transition:opacity .2s ease;
}
ui-view.ng-leave , ui-view.ng-enter-active {
opacity:1;
}
Lio Fleishman
@leofle
Jun 11 2016 09:35
on Angular 2?
BeSaRa
@BeSaRa
Jun 11 2016 10:50
this code write in CSS file
Lio Fleishman
@leofle
Jun 11 2016 11:13
@BeSaRa yes, I can see that, but angular 2 doesn't have does classes... that's for UI-router, I'm using Angular 2
BeSaRa
@BeSaRa
Jun 11 2016 11:14
you must add ngAnimate to your app dependence to work
Lio Fleishman
@leofle
Jun 11 2016 11:48
is nganimate ready for Angular 2?