Skip to content
Snippets Groups Projects
Commit 8e3e973c authored by Cindy's avatar Cindy Committed by pybelecalo
Browse files

[FIX TRTL-584] update collapse animation

parent 999163f0
No related branches found
No related tags found
10 merge requests!51Merge mis a jour vitam-ui,!25Nouveau mis a jour Vitamui,!24Nouveau mis a jour Vitamui,!23Nouveau mis a jour Vitamui,!22WIP: nouveau mis a jour Vitamui,!21nouveau mis a jour Vitamui,!20nouveau mis à jour Vitamui,!19nouveau mis à jour Vitamui,!18New MAJ Vitamui,!16[VAS] BUG 7332 : Correction sur la position de la barre permettant de...
import { animate, keyframes, query, stagger, state, style, transition, trigger } from '@angular/animations'; import { animate, keyframes, query, stagger, state, style, transition, trigger } from '@angular/animations';
export const collapseAnimation = trigger('collapseAnimation', [ export const collapseAnimation = trigger('collapseAnimation', [
state('collapsed', style({ height: 0, visibility: 'hidden' })), state('collapsed', style({height: '0px', visibility: 'hidden', opacity: '0'})),
state('expanded', style({ height: '*' })), state('expanded', style({height: '*', visibility: 'visible', opacity: '1'})),
transition('expanded <=> collapsed', animate('300ms ease-out')), transition('expanded <=> collapsed', animate('150ms cubic-bezier(0.4,0.0,0.2,1)')),
]); ]);
export const rotateAnimation = trigger('rotateAnimation', [ export const rotateAnimation = trigger('rotateAnimation', [
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment