Skip to content
Snippets Groups Projects
Commit 21ee62d1 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

fix(profile): default state structures animations

parent 91dfe218
Branches
Tags
4 merge requests!462V2.1.2,!449Resolve "[RDVS] Prise de rendez-vous depuis la carto",!444Resolve "[mon compte] - fiche structure",!431Draft: Resolve "[RDVS] Prise de rendez-vous depuis la carto"
......@@ -21,10 +21,11 @@ import { UserService } from './../../services/user.service';
styleUrls: ['./profile-structure.component.scss'],
animations: [
trigger('collapse', [
state('true', style({ height: AUTO_STYLE, visibility: AUTO_STYLE, marginTop: '10px' })),
state('*', style({ height: '0px', visibility: 'hidden', margin: '0' })),
state('false', style({ height: '0px', visibility: 'hidden', margin: '0' })),
transition('true => false', animate('300ms ease-out')),
transition('false => true', animate('300ms ease-out')),
state('true', style({ height: AUTO_STYLE, visibility: AUTO_STYLE, marginTop: '10px' })),
transition('true => *', animate('300ms ease-in')),
transition('* => true', animate('300ms ease-out')),
]),
],
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment