mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
(Animations) Added *ngIf support to the fadeInOut animation
This commit is contained in:
parent
4ce34b2234
commit
bc2fc44bcf
|
@ -51,16 +51,17 @@ export const fuseAnimations = [
|
||||||
]),
|
]),
|
||||||
|
|
||||||
trigger('fadeInOut', [
|
trigger('fadeInOut', [
|
||||||
state('0', style({
|
state('0, void', style({
|
||||||
display: 'none',
|
display: 'none',
|
||||||
opacity: 0
|
opacity: 0
|
||||||
})),
|
})),
|
||||||
state('1', style({
|
state('1, *', style({
|
||||||
display: 'block',
|
display: 'block',
|
||||||
opacity: 1
|
opacity: 1
|
||||||
})),
|
})),
|
||||||
transition('1 => 0', animate('300ms ease-out')),
|
transition('1 => 0', animate('300ms ease-out')),
|
||||||
transition('0 => 1', animate('300ms ease-in'))
|
transition('0 => 1', animate('300ms ease-in')),
|
||||||
|
transition('void <=> *', animate('300ms ease-in'))
|
||||||
]),
|
]),
|
||||||
|
|
||||||
trigger('slideInOut', [
|
trigger('slideInOut', [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user