ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
29 lines (28 loc) • 1.06 kB
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { InjectionToken } from '@angular/core';
import { NzMessageConfig } from 'ng-zorro-antd/message';
export interface NzNotificationConfig extends NzMessageConfig {
nzTop?: string | number;
nzBottom?: string | number;
nzPlacement?: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | string;
}
export declare const NZ_NOTIFICATION_DEFAULT_CONFIG: InjectionToken<NzNotificationConfig>;
export declare const NZ_NOTIFICATION_CONFIG: InjectionToken<NzNotificationConfig>;
export declare const NZ_NOTIFICATION_DEFAULT_CONFIG_PROVIDER: {
provide: InjectionToken<NzNotificationConfig>;
useValue: {
nzTop: string;
nzBottom: string;
nzPlacement: string;
nzDuration: number;
nzMaxStack: number;
nzPauseOnHover: boolean;
nzAnimate: boolean;
};
};