import { Component } from '@angular/core'; import { Heroes } from './hero.service'; import { HeroListBasicComponent } from './hero-list-basic.component'; import { HeroListInlineStylesComponent } from './hero-list-inline-styles.component'; import { HeroListEnterLeaveComponent } from './hero-list-enter-leave.component'; import { HeroListEnterLeaveStatesComponent } from './hero-list-enter-leave-states.component'; import { HeroListCombinedTransitionsComponent } from './hero-list-combined-transitions.component'; import { HeroListTwowayComponent } from './hero-list-twoway.component'; import { HeroListAutoComponent } from './hero-list-auto.component'; import { HeroListGroupsComponent } from './hero-list-groups.component'; import { HeroListMultistepComponent } from './hero-list-multistep.component'; import { HeroListTimingsComponent } from './hero-list-timings.component'; @Component({ selector: 'hero-team-builder', template: `
Switch between active/inactive on click.
Animated effect on click, no persistend end styles.
Switch between active/inactive on click. Define just one transition used in both directions.
Switch between active/inactive on click. Define just one transition used in both directions using the <=> syntax.
Enter and leave animations using the void state.
Enter and leave animations combined with active/inactive state animations. Different enter and leave transitions depending on state.
Leave animation from the current computed height using the auto-style value *.
Enter and leave animations with different easings, ease-in for enter, ease-out for leave.
Enter and leave animations with three keyframes in each, to give the transition some bounce.
Enter and leave animations with multiple properties animated in parallel with different timings.