1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

route animations

This commit is contained in:
Kyle Spearrin 2018-04-10 16:32:48 -04:00
parent 4a663efeaf
commit 985b4b5b8d

View File

@ -87,11 +87,18 @@ const outSlideUp = [
export const routerTransition = trigger('routerTransition', [
transition('home => login', inSlideLeft),
transition('login => home', outSlideRight),
transition('login => home', outSlideRight),
transition('login => hint', inSlideUp),
transition('login => tabs, login => 2fa', inSlideLeft),
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('ciphers => tabs', outSlideRight),