mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Angular-toastr: expand function types (#16034)
This commit is contained in:
parent
d5240b6d9c
commit
f9bf70b08f
8
types/angular-toastr/index.d.ts
vendored
8
types/angular-toastr/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Angular Toastr v1.6.0
|
||||
// Project: https://github.com/Foxandxss/angular-toastr
|
||||
// Definitions by: Niko Kovačič <https://github.com/nkovacic>
|
||||
// Definitions by: Niko Kovačič <https://github.com/nkovacic>, Troy McKinnon <https://github.com/trodi>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="angular" />
|
||||
@ -15,9 +15,9 @@ declare module 'angular' {
|
||||
closeHtml?: string;
|
||||
extendedTimeOut?: number;
|
||||
messageClass?: string;
|
||||
onHidden?: Function;
|
||||
onShown?: Function;
|
||||
onTap?: Function;
|
||||
onHidden?: (wasClicked: boolean, toast: angular.toastr.IToast) => void;
|
||||
onShown?: (toast: angular.toastr.IToast) => void;
|
||||
onTap?: (toast: angular.toastr.IToast) => void;
|
||||
progressBar?: boolean;
|
||||
tapToDismiss?: boolean;
|
||||
templates?: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user