mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 06:53:03 +00:00
57053: horizontal menu
This commit is contained in:
@@ -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))
|
||||
]);
|
||||
|
Reference in New Issue
Block a user