mirror of https://github.com/abpframework/abp.git
committed by
GitHub
14 changed files with 57 additions and 32 deletions
@ -0,0 +1 @@ |
|||||
|
export * from './slide.animation'; |
||||
@ -0,0 +1,6 @@ |
|||||
|
import { animate, state, style, transition, trigger, query } from '@angular/animations'; |
||||
|
export const slideFromBottom = trigger('routeAnimations', [ |
||||
|
state('void', style({ 'margin-top': '20px', opacity: '0' })), |
||||
|
state('*', style({ 'margin-top': '0px', opacity: '1' })), |
||||
|
transition(':enter', [animate('0.2s ease-out', style({ opacity: '1', 'margin-top': '0px' }))]), |
||||
|
]); |
||||
@ -1,10 +1,10 @@ |
|||||
import { Injectable } from '@angular/core'; |
import { Injectable } from '@angular/core'; |
||||
import { AbstractToasterClass } from '../abstracts/toaster'; |
import { AbstractToaster } from '../abstracts/toaster'; |
||||
import { Confirmation } from '../models/confirmation'; |
import { Confirmation } from '../models/confirmation'; |
||||
|
|
||||
@Injectable({ providedIn: 'root' }) |
@Injectable({ providedIn: 'root' }) |
||||
export class ConfirmationService extends AbstractToasterClass<Confirmation.Options> { |
export class ConfirmationService extends AbstractToaster<Confirmation.Options> { |
||||
protected key: string = 'abpConfirmation'; |
key: string = 'abpConfirmation'; |
||||
|
|
||||
protected sticky: boolean = true; |
sticky: boolean = true; |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue