Skip to content

Instantly share code, notes, and snippets.

@Sahil624
Created January 4, 2019 10:56
Show Gist options
  • Save Sahil624/1058a602eed11a8218be0e7bdf7fb925 to your computer and use it in GitHub Desktop.
Save Sahil624/1058a602eed11a8218be0e7bdf7fb925 to your computer and use it in GitHub Desktop.
animations: [
trigger('slideInOut', [
transition(':enter', [
style({ transform: 'translateX(-100%)' }),
animate('220ms ease-in', style({ transform: 'translateX(0%)' }))
]),
transition(':leave', [
animate('220ms ease-in', style({ transform: 'translateX(-100%)' }))
])
])
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment