route animations

This commit is contained in:
Kyle Spearrin 2018-04-10 16:32:48 -04:00
parent 4a663efeaf
commit 985b4b5b8d
1 changed files with 8 additions and 1 deletions

View File

@ -87,11 +87,18 @@ const outSlideUp = [
export const routerTransition = trigger('routerTransition', [ export const routerTransition = trigger('routerTransition', [
transition('home => login', inSlideLeft), transition('home => login', inSlideLeft),
transition('login => home', outSlideRight),
transition('login => home', outSlideRight),
transition('login => hint', inSlideUp), transition('login => hint', inSlideUp),
transition('login => tabs, login => 2fa', inSlideLeft),
transition('hint => login', outSlideDown), transition('hint => login', outSlideDown),
transition('2fa => login', outSlideRight),
transition('2fa => 2fa-options', inSlideUp),
transition('2fa-options => 2fa', outSlideDown),
transition('2fa => tabs', inSlideLeft),
transition('tabs => ciphers', inSlideLeft), transition('tabs => ciphers', inSlideLeft),
transition('ciphers => tabs', outSlideRight), transition('ciphers => tabs', outSlideRight),