57053: horizontal menu

This commit is contained in:
lotte
2018-11-09 10:18:17 +01:00
parent 2af1d3b042
commit b0fe14d015
15 changed files with 194 additions and 53 deletions

View File

@@ -1,4 +1,4 @@
import { animate, state, transition, trigger, style, stagger, query } from '@angular/animations';
import { animate, state, style, transition, trigger } from '@angular/animations';
export const slide = trigger('slide', [
@@ -8,3 +8,12 @@ export const slide = trigger('slide', [
transition('expanded <=> collapsed', animate(250))
]);
export const slideMobileNav = trigger('slideMobileNav', [
state('expanded', style({ height: '100vh' })),
state('collapsed', style({ height: 0 })),
transition('expanded <=> collapsed', animate(300))
]);