mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-23 04:47:24 +08:00
Merge pull request #7637 from nkovacic/angular-toastr
Moved IToastBaseConfig from global namespace to angular.toastr
This commit is contained in:
40
angular-toastr/angular-toastr.d.ts
vendored
40
angular-toastr/angular-toastr.d.ts
vendored
@@ -10,27 +10,27 @@ declare module "angular-toastr" {
|
||||
export = _;
|
||||
}
|
||||
|
||||
interface IToastBaseConfig {
|
||||
allowHtml?: boolean;
|
||||
closeButton?: boolean;
|
||||
closeHtml?: string;
|
||||
extendedTimeOut?: number;
|
||||
messageClass?: string;
|
||||
onHidden?: Function;
|
||||
onShown?: Function;
|
||||
onTap?: Function;
|
||||
progressBar?: boolean;
|
||||
tapToDismiss?: boolean;
|
||||
templates?: {
|
||||
toast?: string;
|
||||
progressbar?: string;
|
||||
};
|
||||
timeOut?: number;
|
||||
titleClass?: string;
|
||||
toastClass?: string;
|
||||
}
|
||||
|
||||
declare module angular.toastr {
|
||||
interface IToastBaseConfig {
|
||||
allowHtml?: boolean;
|
||||
closeButton?: boolean;
|
||||
closeHtml?: string;
|
||||
extendedTimeOut?: number;
|
||||
messageClass?: string;
|
||||
onHidden?: Function;
|
||||
onShown?: Function;
|
||||
onTap?: Function;
|
||||
progressBar?: boolean;
|
||||
tapToDismiss?: boolean;
|
||||
templates?: {
|
||||
toast?: string;
|
||||
progressbar?: string;
|
||||
};
|
||||
timeOut?: number;
|
||||
titleClass?: string;
|
||||
toastClass?: string;
|
||||
}
|
||||
|
||||
interface IToastContainerConfig {
|
||||
autoDismiss?: boolean;
|
||||
containerId?: string;
|
||||
|
||||
Reference in New Issue
Block a user