mirror of https://github.com/abpframework/abp.git
8 changed files with 22 additions and 22 deletions
@ -1,13 +1,12 @@ |
|||||
import { Component, OnInit } from '@angular/core'; |
import { fadeIn } from '@abp/ng.theme.shared'; |
||||
|
import { transition, trigger, useAnimation } from '@angular/animations'; |
||||
|
import { Component } from '@angular/core'; |
||||
|
|
||||
@Component({ |
@Component({ |
||||
selector: 'abp-manage-profile', |
selector: 'abp-manage-profile', |
||||
templateUrl: './manage-profile.component.html', |
templateUrl: './manage-profile.component.html', |
||||
|
animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])], |
||||
}) |
}) |
||||
export class ManageProfileComponent implements OnInit { |
export class ManageProfileComponent { |
||||
selectedTab = 0; |
selectedTab = 0; |
||||
|
|
||||
constructor() {} |
|
||||
|
|
||||
ngOnInit(): void {} |
|
||||
} |
} |
||||
|
|||||
@ -1,7 +1,7 @@ |
|||||
import { transition, trigger, useAnimation } from '@angular/animations'; |
import { transition, trigger, useAnimation } from '@angular/animations'; |
||||
import { fadeIn, fadeInDown, fadeOut } from '../../animations/fade.animations'; |
import { fadeIn, fadeInDown, fadeOut } from './fade.animations'; |
||||
|
|
||||
export const backdropAnimation = trigger('backdrop', [ |
export const fadeAnimation = trigger('fade', [ |
||||
transition(':enter', useAnimation(fadeIn)), |
transition(':enter', useAnimation(fadeIn)), |
||||
transition(':leave', useAnimation(fadeOut)), |
transition(':leave', useAnimation(fadeOut)), |
||||
]); |
]); |
||||
Loading…
Reference in new issue