Merge pull request #7637 from nkovacic/angular-toastr

Moved IToastBaseConfig from global namespace to angular.toastr
This commit is contained in:
Masahiro Wakame
2016-01-23 23:56:46 +09:00

View File

@@ -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;